ASoC: Forward calls to snd_soc_cache_sync() to regcache_sync()
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 8 Nov 2014 15:38:06 +0000 (16:38 +0100)
committerMark Brown <broonie@kernel.org>
Sun, 9 Nov 2014 09:06:30 +0000 (09:06 +0000)
commit6cc79294efefde2593eaf72effebc8b1cc71d5ac
tree5b71bb1e89c92fabb600a3b915039883ecb8c8de
parentf114040e3ea6e07372334ade75d1ee0775c355e1
ASoC: Forward calls to snd_soc_cache_sync() to regcache_sync()

For convenience for drivers that do not want to keep their own pointer to
regmap struct around forward calls to snd_soc_cache_sync() to
regcache_sync() if the driver is using regmap. This is similar to what we do
for snd_soc_read()/snd_soc_write().

This patch also fixes drivers which already have been converted to regmap,
but still use snd_soc_cache_sync() for trying to the sync the cache.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-cache.c