linux-stable/drivers/base/regmap
Elaine Zhang 815806e39b regmap: drop cache if the bus transfer error
regmap_write
->_regmap_raw_write
-->regcache_write first and than use map->bus->write to wirte i2c or spi
But if the i2c or spi transfer failed, But the cache is updated, So if I use
regmap_read will get the cache data which is not the real register value.

Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2016-08-18 11:09:12 +01:00
..
internal.h regmap: Fix implicit inclusion of device.h 2016-03-30 08:46:11 -07: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 Merge remote-tracking branches 'regmap/topic/mmio', 'regmap/topic/rbtree' and 'regmap/topic/seq' into regmap-next 2016-01-05 19:07:18 +00: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: Use seq_file for the access map 2016-01-05 18:32:22 +00: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: drop cache if the bus transfer error 2016-08-18 11:09:12 +01:00
trace.h regmap: Move tracing header into drivers/base/regmap 2015-03-19 22:22:45 +00:00