diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-03-04 15:29:17 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-03-04 17:08:59 +0000 |
commit | 4ceba98d3fe204c59e5f63c4d834b45dcfe789f0 (patch) | |
tree | 8698c8fa656396700113528e65c6b0bf3825407b /drivers/zorro/zorro-driver.c | |
parent | c517d838eb7d07bbe9507871fab3931deccff539 (diff) | |
download | talos-obmc-linux-4ceba98d3fe204c59e5f63c4d834b45dcfe789f0.tar.gz talos-obmc-linux-4ceba98d3fe204c59e5f63c4d834b45dcfe789f0.zip |
regmap: Skip read-only registers in regcache_sync()
regcache_sync() spews warnings when a value was cached for a read-only
register as it tries to write all registers no matter whether they are
writable or not. This patch adds regmap_wrtieable() checks for
avoiding it in regcache_sync_block_single() and regcache_block_raw().
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/zorro/zorro-driver.c')
0 files changed, 0 insertions, 0 deletions