aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Brown <[email protected]>2013-11-22 14:17:18 +0000
committerMark Brown <[email protected]>2013-11-25 15:49:35 +0000
commit2ab2b74277a86afe0dd92976db695a2bb8b93366 (patch)
tree425350bf85200958354054ef7e3807ff2c0f9ebb
parent6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae (diff)
ASoC: wm8990: Mark the register map as dirty when powering down
Otherwise we'll skip sync on resume. Signed-off-by: Mark Brown <[email protected]> Acked-by: Charles Keepax <[email protected]> Cc: [email protected]
-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 253c88bb7a4c..4f05fb88bddf 100644
--- a/sound/soc/codecs/wm8990.c
+++ b/sound/soc/codecs/wm8990.c
@@ -1259,6 +1259,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;
}