summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-01-25 21:10:33 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-01-25 21:18:05 +0000
commit5c1b136b7bf702e550039cb0039ec9c790c48f99 (patch)
treee6389b4be74816841dadb10d7332c7aeef2f24bc /sound
parent5539a102882d5ddd1bb95ea9f6f43130a789cb7f (diff)
ASoC: wm5100: Mark register cache as dirty when regulators are disabled
Otherwise we won't resync later. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/wm5100.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm5100.c b/sound/soc/codecs/wm5100.c
index fb757af19363..89f2af77b1c3 100644
--- a/sound/soc/codecs/wm5100.c
+++ b/sound/soc/codecs/wm5100.c
@@ -1405,6 +1405,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);
if (wm5100->pdata.ldo_ena)
gpio_set_value_cansleep(wm5100->pdata.ldo_ena, 0);
regulator_bulk_disable(ARRAY_SIZE(wm5100->core_supplies),