summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/wm8995.c
diff options
context:
space:
mode:
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>2011-01-11 12:28:32 +0300
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-01-11 14:03:58 +0300
commit4fde768ecf39360eaed44152c2556dd10c3e0ce7 (patch)
tree6a220ccd98d7481d9bd6f3c2a1a3bcab67049112 /sound/soc/codecs/wm8995.c
parent5c68536f32a46c8ccc98df3d9b154e1f33f72447 (diff)
downloadlinux-4fde768ecf39360eaed44152c2556dd10c3e0ce7.tar.xz
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>
Diffstat (limited to 'sound/soc/codecs/wm8995.c')
-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;
}