[alsa-devel] [PATCH 3/3] ASoC: wm5100: Mark register cache as dirty when regulators are disabled
Mark Brown
broonie at opensource.wolfsonmicro.com
Wed Jan 25 22:14:10 CET 2012
Otherwise we won't resync later.
Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
---
sound/soc/codecs/wm5100.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/sound/soc/codecs/wm5100.c b/sound/soc/codecs/wm5100.c
index 51b281b..273093f 100644
--- a/sound/soc/codecs/wm5100.c
+++ b/sound/soc/codecs/wm5100.c
@@ -1376,6 +1376,7 @@ static int wm5100_set_bias_level(struct snd_soc_codec *codec,
case SND_SOC_BIAS_OFF:
regcache_cache_only(wm5100->regmap, true);
+ regcache_mark_dirty(wm5100->regmap);
for (i = 0; i < ARRAY_SIZE(wm5100->adsp1); i++)
wm_adsp1_reinit(wm5100->adsp1[i]);
regcache_cache_only(wm5100->regmap, true);
--
1.7.9.rc1
More information about the Alsa-devel
mailing list