Skip to contentSkip to conversation

ASoC: WM8995: Remember to flush the cache on resume

PATCH Applied Dimitris Papastamos 3 participants 3 messages Jan 11, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: WM8995: Remember to flush the cache on resume

---
 sound/soc/codecs/wm8995.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
sound/soc/codecs/wm8995.c +1 -0
index 3d2110c..96e0dc0 100644
@@ -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;
 	}
 
Signature · 1 line
1.7.3.5
Acked-by on v1 1/1
#1 lore raw
Quoted 10 lines · Dimitris Papastamos
---
 sound/soc/codecs/wm8995.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
sound/soc/codecs/wm8995.c +0 -0
index 3d2110c..96e0dc0 100644

sound/soc/codecs/wm8995.c static int wm8995_set_bias_level(struct snd_soc_codec *codec, · line 1504

Quoted 7 lines
sound/soc/codecs/wm8995.c +1 -0
@@ -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;
 	}
 
Signature · 3 lines
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk