ASoC: Explicitly disable DC servo on WM hubs headphone powerdown
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 10 May 2010 20:06:14 +0000 (21:06 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 20 Jul 2010 08:48:07 +0000 (09:48 +0100)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
sound/soc/codecs/wm_hubs.c

index 16f1a57da08a597bfd1a12da04f0b3b826bb371d..2cb81538cd9194c9cc278515171d67a45ac39ca6 100644 (file)
@@ -410,6 +410,8 @@ static int hp_event(struct snd_soc_dapm_widget *w,
                                    WM8993_HPOUT1L_DLY |
                                    WM8993_HPOUT1R_DLY, 0);
 
+               snd_soc_write(codec, WM8993_DC_SERVO_0, 0);
+
                snd_soc_update_bits(codec, WM8993_POWER_MANAGEMENT_1,
                                    WM8993_HPOUT1L_ENA | WM8993_HPOUT1R_ENA,
                                    0);