diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-11-21 11:55:41 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-12-09 08:52:26 -0800 |
commit | 6dbe15f453482a897c3db411cfdcffef27e71c6c (patch) | |
tree | 576b2b7bcabc89ac4e3e5c6e5b80f21afb93e0a6 | |
parent | e879974c3f5bdadc691d8114a547caac768f61de (diff) | |
download | kernel_samsung_smdk4412-6dbe15f453482a897c3db411cfdcffef27e71c6c.zip kernel_samsung_smdk4412-6dbe15f453482a897c3db411cfdcffef27e71c6c.tar.gz kernel_samsung_smdk4412-6dbe15f453482a897c3db411cfdcffef27e71c6c.tar.bz2 |
ASoC: Ensure WM8731 register cache is synced when resuming from disabled
commit ed3e80c4c991a52f9fce3421536a78e331ae0949 upstream.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | sound/soc/codecs/wm8731.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8731.c b/sound/soc/codecs/wm8731.c index 76b4361..f5a0ec4 100644 --- a/sound/soc/codecs/wm8731.c +++ b/sound/soc/codecs/wm8731.c @@ -463,6 +463,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; |