Re: [PATCH 1/6] Core driver for WM97xx touchscreens

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

 



Hi,

2008/2/13, Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>:
>  diff --git a/include/linux/wm97xx.h b/include/linux/wm97xx.h
>  new file mode 100644
>  index 0000000..f0d9fc0
>  --- /dev/null
>  +++ b/include/linux/wm97xx.h
>  @@ -0,0 +1,308 @@

...

>  +#define WM97XX_POLL            0x8000  /* initiate a polling measurement */
>  +#define WM97XX_ADCSEL_X                0x1000  /* x coord measurement */
>  +#define WM97XX_ADCSEL_Y                0x2000  /* y coord measurement */
>  +#define WM97XX_ADCSEL_PRES     0x3000  /* pressure measurement */

shouldn't this be 0x4000 ?

>  +#define WM97XX_ADCSEL_MASK     0x7000
>  +#define WM97XX_COO             0x0800  /* enable coordinate mode */
>  +#define WM97XX_CTC             0x0400  /* enable continuous mode */

-- 
With best wishes
Dmitry
-
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