ASoC: wm8990: Mark the register map as dirty when powering down
authorMark Brown <broonie@linaro.org>
Fri, 22 Nov 2013 14:17:18 +0000 (14:17 +0000)
committerMark Brown <broonie@linaro.org>
Mon, 25 Nov 2013 15:49:35 +0000 (15:49 +0000)
Otherwise we'll skip sync on resume.

Signed-off-by: Mark Brown <broonie@linaro.org>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Cc: stable@vger.kernel.org
sound/soc/codecs/wm8990.c

index 253c88b..4f05fb8 100644 (file)
@@ -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;
        }