ASoC: WM8995: Remember to flush the cache on resume
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Tue, 11 Jan 2011 09:28:32 +0000 (09:28 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 11 Jan 2011 11:03:58 +0000 (11:03 +0000)
Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8995.c

index 3d2110c1d81f8dcca13f56970f3636a0abc53942..96e0dc09f20357d5329ff514545b8e1523f0183f 100644 (file)
@@ -1498,6 +1498,7 @@ static int wm8995_set_bias_level(struct snd_soc_codec *codec,
        case SND_SOC_BIAS_OFF:
                snd_soc_update_bits(codec, WM8995_POWER_MANAGEMENT_1,
                                    WM8995_BG_ENA_MASK, 0);
+               codec->cache_sync = 1;
                break;
        }