On Thursday 07 September 2006 15:25, Daniel Ritz wrote: > before 2.6.19, please :) > > [PATCH] usbtouchscreen: fix ITM data reading > > From: Kai Lindhom <[EMAIL PROTECTED]> > Signed-off-by: Daniel Ritz <[EMAIL PROTECTED]> >
Acked-by: Dmitry Torokhov <[EMAIL PROTECTED]> Greg, will you push it through your tree? > diff --git a/drivers/usb/input/usbtouchscreen.c > b/drivers/usb/input/usbtouchscreen.c > index 3b175aa..a338bf4 100644 > --- a/drivers/usb/input/usbtouchscreen.c > +++ b/drivers/usb/input/usbtouchscreen.c > @@ -286,7 +286,7 @@ #ifdef CONFIG_USB_TOUCHSCREEN_ITM > static int itm_read_data(unsigned char *pkt, int *x, int *y, int *touch, int > *press) > { > *x = ((pkt[0] & 0x1F) << 7) | (pkt[3] & 0x7F); > - *x = ((pkt[1] & 0x1F) << 7) | (pkt[4] & 0x7F); > + *y = ((pkt[1] & 0x1F) << 7) | (pkt[4] & 0x7F); > *press = ((pkt[2] & 0x1F) << 7) | (pkt[5] & 0x7F); > *touch = ~pkt[7] & 0x20; > > -- Dmitry ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel