summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>2011-01-11 09:28:32 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-01-11 11:03:58 +0000
commit4fde768ecf39360eaed44152c2556dd10c3e0ce7 (patch)
tree6a220ccd98d7481d9bd6f3c2a1a3bcab67049112
parent5c68536f32a46c8ccc98df3d9b154e1f33f72447 (diff)
downloadlinux-4fde768ecf39360eaed44152c2556dd10c3e0ce7.tar.bz2
ASoC: WM8995: Remember to flush the cache on resume
Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r--sound/soc/codecs/wm8995.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8995.c b/sound/soc/codecs/wm8995.c
index 3d2110c1d81f..96e0dc09f203 100644
--- a/sound/soc/codecs/wm8995.c
+++ b/sound/soc/codecs/wm8995.c
@@ -1498,6 +1498,7 @@ static int wm8995_set_bias_level(struct snd_soc_codec *codec,
case SND_SOC_BIAS_OFF:
snd_soc_update_bits(codec, WM8995_POWER_MANAGEMENT_1,
WM8995_BG_ENA_MASK, 0);
+ codec->cache_sync = 1;
break;
}