]> Pileus Git - ~andy/linux/commitdiff
Input: usbtouchscreen: ignore eGalax/D-Wav/EETI HIDs
authorForest Bond <forest.bond@rapidrollout.com>
Mon, 21 Oct 2013 16:38:18 +0000 (12:38 -0400)
committerJiri Kosina <jkosina@suse.cz>
Mon, 11 Nov 2013 10:19:26 +0000 (11:19 +0100)
The HID driver now handles these devices, regardless of what protocol
the device claims it supports.

Signed-off-by: Forest Bond <forest.bond@rapidrollout.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/input/touchscreen/usbtouchscreen.c

index 721fdb3597ca9d9ecb3f971f389f6852395ff39c..ae4b6b9036292c23387fafb1124247fc377c3f72 100644 (file)
@@ -146,12 +146,10 @@ enum {
 
 #define USB_DEVICE_HID_CLASS(vend, prod) \
        .match_flags = USB_DEVICE_ID_MATCH_INT_CLASS \
-               | USB_DEVICE_ID_MATCH_INT_PROTOCOL \
                | USB_DEVICE_ID_MATCH_DEVICE, \
        .idVendor = (vend), \
        .idProduct = (prod), \
-       .bInterfaceClass = USB_INTERFACE_CLASS_HID, \
-       .bInterfaceProtocol = USB_INTERFACE_PROTOCOL_MOUSE
+       .bInterfaceClass = USB_INTERFACE_CLASS_HID
 
 static const struct usb_device_id usbtouch_devices[] = {
 #ifdef CONFIG_TOUCHSCREEN_USB_EGALAX