[alsa-devel] [PATCH] Fix possibly incorrect offset in wm97xx-core

Mark Brown broonie at opensource.wolfsonmicro.com
Thu Jun 4 10:46:03 CEST 2009


On Wed, Jun 03, 2009 at 11:44:37PM +0200, Marek Vasut wrote:

> -               if (wm->id == WM9712_ID2)
> -                       wm97xx_reg_write(wm, AC97_GPIO_STATUS, (status &
> -                                               ~WM97XX_GPIO_13) << 1);
> -               else
> -                       wm97xx_reg_write(wm, AC97_GPIO_STATUS, status &
> +               wm97xx_reg_write(wm, AC97_GPIO_STATUS, status &
>                                                 ~WM97XX_GPIO_13);

Nack, the existing code reflects the behaviour of the silicon.


More information about the Alsa-devel mailing list