From: Mark Brown Date: Fri, 22 Nov 2013 14:17:18 +0000 (+0000) Subject: ASoC: wm8990: Mark the register map as dirty when powering down X-Git-Tag: firefly_0821_release~3679^2~3374 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=dd7933f8de8cd877ae203a5e5608ac483ab21314;p=firefly-linux-kernel-4.4.55.git 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 Acked-by: Charles Keepax Signed-off-by: Greg Kroah-Hartman --- diff --git a/sound/soc/codecs/wm8990.c b/sound/soc/codecs/wm8990.c index 837978e16e9d..ded9ed854a1f 100644 --- a/sound/soc/codecs/wm8990.c +++ b/sound/soc/codecs/wm8990.c @@ -1264,6 +1264,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; }