]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
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 253c88bb7a4cbdb06d3d1df2862f10e80095aaa8..4f05fb88bddf1394509b9eb14c7b746909074873 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;
        }