ASoC: Disable wm_hubs periodic DC servo update
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 28 Jul 2011 11:44:44 +0000 (12:44 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 29 Jul 2011 09:31:07 +0000 (10:31 +0100)
This does not function correctly in all circumstances so disable the
periodic updates unconditionally for stable; a future patch will reenable
where appropriate.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
sound/soc/codecs/wm_hubs.c

index 4cc2d56..e763c54 100644 (file)
@@ -440,9 +440,8 @@ static int hp_event(struct snd_soc_dapm_widget *w,
                reg |= WM8993_HPOUT1L_DLY | WM8993_HPOUT1R_DLY;
                snd_soc_write(codec, WM8993_ANALOGUE_HP_0, reg);
 
-               /* Smallest supported update interval */
                snd_soc_update_bits(codec, WM8993_DC_SERVO_1,
-                                   WM8993_DCS_TIMER_PERIOD_01_MASK, 1);
+                                   WM8993_DCS_TIMER_PERIOD_01_MASK, 0);
 
                calibrate_dc_servo(codec);