diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-01-25 21:10:33 +0000 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-01-25 21:18:05 +0000 |
commit | 5c1b136b7bf702e550039cb0039ec9c790c48f99 (patch) | |
tree | e6389b4be74816841dadb10d7332c7aeef2f24bc | |
parent | 5539a102882d5ddd1bb95ea9f6f43130a789cb7f (diff) | |
download | linux-3.10-5c1b136b7bf702e550039cb0039ec9c790c48f99.tar.gz linux-3.10-5c1b136b7bf702e550039cb0039ec9c790c48f99.tar.bz2 linux-3.10-5c1b136b7bf702e550039cb0039ec9c790c48f99.zip |
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>
-rw-r--r-- | 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 fb757af1936..89f2af77b1c 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), |