From: Mark Brown Date: Sat, 11 Feb 2012 23:10:30 +0000 (+0000) Subject: ASoC: wm8994: Actively discharge VMID when not in use X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e85b26ce3a4cda67262ae6f7d918a63fd4dc153c;p=linux-beck.git ASoC: wm8994: Actively discharge VMID when not in use Ensure we're in a known state when we restart. Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c index aa94ca1f6a9b..3a69ec0d5afd 100644 --- a/sound/soc/codecs/wm8994.c +++ b/sound/soc/codecs/wm8994.c @@ -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 |