Skip to contentSkip to conversation

ASoC: Ensure WM8731 register cache is synced when resuming from disabled

PATCH New Mark Brown 1 participant 1 message Nov 21, 2011

Subsystems (3)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 ASoC: Ensure WM8731 register cache is synced when resuming from disabled

---
 sound/soc/codecs/wm8731.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
sound/soc/codecs/wm8731.c +1 -0
index 7e5ec03..a7c9ae1 100644
@@ -453,6 +453,7 @@ static int wm8731_set_bias_level(struct snd_soc_codec *codec,
 		snd_soc_write(codec, WM8731_PWR, 0xffff);
 		regulator_bulk_disable(ARRAY_SIZE(wm8731->supplies),
 				       wm8731->supplies);
+		codec->cache_sync = 1;
 		break;
 	}
 	codec->dapm.bias_level = level;
Signature · 1 line
1.7.7.3