Re: wm97xx_read_aux_adc() for battery & pen down?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jun 24, 2011 at 03:00:49PM +0200, Wolfram Sang wrote:

> battery-status, but I need the following dirty hack for 3.0-rc4 in
> wm97xx_read_aux_adc():

> ...
> -       if (!(*sample & WM97XX_PEN_DOWN)) {
> +       /* HACK! Disable check for battery channel on Jaytech PID7901 */
> +       if ((adcsel != 0x6000) && !(*sample & WM97XX_PEN_DOWN)) {
>                 wm->pen_probably_down = 0;
>                 return RC_PENUP;
>         }

I don't see this code in that function?
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux