[alsa-devel] [PATCH] Fix possibly incorrect offset in wm97xx-core
Marek Vasut
marek.vasut at gmail.com
Thu Jun 4 11:59:02 CEST 2009
On Thursday 04 of June 2009 10:46:03 Mark Brown wrote:
> 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.
The patch above reflects the behavior of my silicon (WM9712G) :-/
More information about the Alsa-devel
mailing list