diff options
author | 2016-08-18 17:01:55 +0800 | |
---|---|---|
committer | 2016-08-18 11:09:12 +0100 | |
commit | 815806e39bf6f7e7b34875d4a9609dbe76661782 (patch) | |
tree | 159196282922d63c2c2a5dc52f7f6053060fb0f2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | regmap: cache: Fix num_reg_defaults computation from reg_defaults_raw (diff) | |
download | linux-dev-815806e39bf6f7e7b34875d4a9609dbe76661782.tar.xz linux-dev-815806e39bf6f7e7b34875d4a9609dbe76661782.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions