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

From: Dmitry
Date: Thu Feb 14 2008 - 10:10:46 EST


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-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/