[alsa-devel] [PATCH] ASoC: Disable wm_hubs periodic DC servo update

Liam Girdwood lrg at ti.com
Fri Jul 29 10:12:24 CEST 2011


On Thu, 2011-07-28 at 13:56 +0200, Mark Brown wrote:
> 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 at opensource.wolfsonmicro.com>

Acked-by: Liam Girdwood <lrg at ti.com>

>  sound/soc/codecs/wm_hubs.c |    3 +--
>  1 files changed, 1 insertions(+), 2 deletions(-)
> 
> diff --git a/sound/soc/codecs/wm_hubs.c b/sound/soc/codecs/wm_hubs.c
> index 4de6794..4416a76 100644
> --- a/sound/soc/codecs/wm_hubs.c
> +++ b/sound/soc/codecs/wm_hubs.c
> @@ -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);
>  




More information about the Alsa-devel mailing list