[lkml]   [2006]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[patch 12/30] usbtouchscreen: use endpoint address from endpoint descriptor
-stable review patch.  If anyone has any objections, please let us know.

From: Daniel Ritz <>

use the endpoint address from the endpoint descriptor instead of the hardcoding
it to 0x81. at least some ITM based screen use a different address and don't work
without this.

Signed-off-by: Daniel Ritz <>
Cc: Ralf Lehmann <>
Cc: J.P. Delport <>
Signed-off-by: Greg Kroah-Hartman <>
Signed-off-by: Chris Wright <>

drivers/usb/input/usbtouchscreen.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-
+++ linux-
@@ -522,7 +522,7 @@ static int usbtouch_probe(struct usb_int
type->max_press, 0, 0);

usb_fill_int_urb(usbtouch->irq, usbtouch->udev,
- usb_rcvintpipe(usbtouch->udev, 0x81),
+ usb_rcvintpipe(usbtouch->udev, endpoint->bEndpointAddress),
usbtouch->data, type->rept_size,
usbtouch_irq, usbtouch, endpoint->bInterval);

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-11-16 03:57    [W:0.112 / U:19.540 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site