mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-02 02:34:05 +08:00
ASoC: Ensure WM8731 register cache is synced when resuming from disabled
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: stable@vger.kernel.org
This commit is contained in:
parent
1d9a91db92
commit
ed3e80c4c9
@ -453,6 +453,7 @@ static int wm8731_set_bias_level(struct snd_soc_codec *codec,
|
|||||||
snd_soc_write(codec, WM8731_PWR, 0xffff);
|
snd_soc_write(codec, WM8731_PWR, 0xffff);
|
||||||
regulator_bulk_disable(ARRAY_SIZE(wm8731->supplies),
|
regulator_bulk_disable(ARRAY_SIZE(wm8731->supplies),
|
||||||
wm8731->supplies);
|
wm8731->supplies);
|
||||||
|
codec->cache_sync = 1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
codec->dapm.bias_level = level;
|
codec->dapm.bias_level = level;
|
||||||
|
Loading…
Reference in New Issue
Block a user