aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8990.c
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-11-22 14:17:18 +0000
committerBen Hutchings <ben@decadent.org.uk>2014-01-03 04:33:24 +0000
commit9d2a88738ff77faf2c08999b08616342d67e01e3 (patch)
tree464d0732de4b03298ace34ae6d7a60c7b445b867 /sound/soc/codecs/wm8990.c
parent286cfe15641d42d5a3846eb1009cf79b7934439b (diff)
downloadkernel_samsung_smdk4412-9d2a88738ff77faf2c08999b08616342d67e01e3.zip
kernel_samsung_smdk4412-9d2a88738ff77faf2c08999b08616342d67e01e3.tar.gz
kernel_samsung_smdk4412-9d2a88738ff77faf2c08999b08616342d67e01e3.tar.bz2
ASoC: wm8990: Mark the register map as dirty when powering down
commit 2ab2b74277a86afe0dd92976db695a2bb8b93366 upstream. Otherwise we'll skip sync on resume. Signed-off-by: Mark Brown <broonie@linaro.org> Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'sound/soc/codecs/wm8990.c')
-rw-r--r--sound/soc/codecs/wm8990.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8990.c b/sound/soc/codecs/wm8990.c
index d29a962..cfa5bea 100644
--- a/sound/soc/codecs/wm8990.c
+++ b/sound/soc/codecs/wm8990.c
@@ -1266,6 +1266,8 @@ static int wm8990_set_bias_level(struct snd_soc_codec *codec,
/* disable POBCTRL, SOFT_ST and BUFDCOPEN */
snd_soc_write(codec, WM8990_ANTIPOP2, 0x0);
+
+ codec->cache_sync = 1;
break;
}