Charles Keepax
7a2e11e7ba
regmap: Correct comparison in regmap_cached
...
[ Upstream commit 71df179363a5a733a8932e9afb869760d7559383 ]
The cache pointer points to the actual memory used by the cache, as the
comparison here is looking for the type of the cache it should check
against cache_type.
Fixes: 1ea975cf1e ("regmap: Add a function to check if a regmap register is cached")
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-30 07:50:51 +02:00
..
internal.h
Merge remote-tracking branches 'regmap/topic/core' and 'regmap/topic/debugfs' into regmap-next
2016-10-04 05:17:12 +02:00
Kconfig
regmap: ac97: Add generic AC'97 callbacks
2014-11-19 10:28:14 +00:00
Makefile
regmap: Move tracing header into drivers/base/regmap
2015-03-19 22:22:45 +00:00
regcache-flat.c
regcache: flat: Require max_registers to be set
2016-03-29 09:51:04 -07:00
regcache-lzo.c
regmap: replace kmalloc with kmalloc_array
2015-11-20 12:27:59 +00:00
regcache-rbtree.c
regmap: rbtree: Avoid overlapping nodes
2016-08-04 16:55:26 +01:00
regcache.c
regmap: cache: Fix num_reg_defaults computation from reg_defaults_raw
2016-07-29 23:02:19 +01:00
regmap-ac97.c
regmap: Move documentation to regmap.h
2015-08-11 17:21:44 +01:00
regmap-debugfs.c
regmap: debugfs: Add support for dumping write only device registers
2016-08-09 13:43:33 +01:00
regmap-i2c.c
regmap-i2c: Use i2c block command only if register value width is 8 bit
2016-06-22 13:50:51 +01:00
regmap-irq.c
regmap: irq: Add support to call client specific pre/post interrupt service
2016-06-03 00:41:15 +01:00
regmap-mmio.c
Merge remote-tracking branches 'regmap/fix/be', 'regmap/fix/doc' and 'regmap/fix/spmi' into regmap-linus
2016-05-13 10:36:10 +01:00
regmap-spi.c
regmap: Move documentation to regmap.h
2015-08-11 17:21:44 +01:00
regmap-spmi.c
regmap: spmi: Fix regmap_spmi_ext_read in multi-byte case
2016-04-15 10:11:45 +01:00
regmap.c
regmap: Correct comparison in regmap_cached
2018-05-30 07:50:51 +02:00
trace.h
regmap: Move tracing header into drivers/base/regmap
2015-03-19 22:22:45 +00:00