[alsa-devel] [PATCH 1/3] ASoC: Need to convert wm5100 cache sync to direct regmap usage too

Mark Brown broonie at opensource.wolfsonmicro.com
Wed Nov 9 17:31:52 CET 2011


ASoC knows nothing about the cache now.

Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
---
 sound/soc/codecs/wm5100.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/soc/codecs/wm5100.c b/sound/soc/codecs/wm5100.c
index cf66209..01959e1 100644
--- a/sound/soc/codecs/wm5100.c
+++ b/sound/soc/codecs/wm5100.c
@@ -1401,7 +1401,7 @@ static int wm5100_set_bias_level(struct snd_soc_codec *codec,
 				break;
 			}
 
-			snd_soc_cache_sync(codec);
+			regcache_sync(wm5100->regmap);
 		}
 		break;
 
-- 
1.7.7.2



More information about the Alsa-devel mailing list