mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-28 20:37:27 +00:00
ASoC: wm8994: Actively discharge VMID when not in use
Ensure we're in a known state when we restart. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
cc6d5a8c2b
commit
e85b26ce3a
@ -838,6 +838,10 @@ static void vmid_dereference(struct snd_soc_codec *codec)
|
||||
WM8994_BIAS_ENA |
|
||||
WM8994_VMID_SEL_MASK, 0);
|
||||
|
||||
/* Discharge VMID */
|
||||
snd_soc_update_bits(codec, WM8994_ANTIPOP_2,
|
||||
WM8994_VMID_DISCH, WM8994_VMID_DISCH);
|
||||
|
||||
/* Discharge line */
|
||||
snd_soc_update_bits(codec, WM8994_ANTIPOP_1,
|
||||
WM8994_LINEOUT1_DISCH |
|
||||
|
Loading…
Reference in New Issue
Block a user