kernel-fxtec-pro1x/drivers/base/regmap
Dmitry Baryshkov 7b038e4deb regmap: fix page selection for noinc reads
[ Upstream commit 4003324856311faebb46cbd56a1616bd3f3b67c2 ]

Non-incrementing reads can fail if register + length crosses page
border. However for non-incrementing reads we should not check for page
border crossing. Fix this by passing additional flag to _regmap_raw_read
and passing length to _regmap_select_page basing on the flag.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fixes: 74fe7b551f ("regmap: Add regmap_noinc_read API")
Link: https://lore.kernel.org/r/20200917153405.3139200-1-dmitry.baryshkov@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-01 13:14:53 +02:00
..
internal.h
Kconfig
Makefile
regcache-flat.c
regcache-lzo.c
regcache-rbtree.c
regcache.c
regmap-ac97.c
regmap-debugfs.c regmap: debugfs: check count when read regmap file 2020-07-31 18:37:49 +02:00
regmap-i2c.c
regmap-irq.c
regmap-mmio.c
regmap-sccb.c
regmap-sdw.c
regmap-slimbus.c
regmap-spi.c
regmap-spmi.c
regmap-w1.c
regmap.c regmap: fix page selection for noinc reads 2020-10-01 13:14:53 +02:00
trace.h