Browse Source

ASoC: WM8995: Remember to flush the cache on resume

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>
Dimitris Papastamos 14 years ago
parent
commit
4fde768ecf
1 changed files with 1 additions and 0 deletions
  1. 1 0
      sound/soc/codecs/wm8995.c

+ 1 - 0
sound/soc/codecs/wm8995.c

@@ -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;
 	}