Skip to content

Commit ae2aa3a

Browse files
forestbondJiri Kosina
authored andcommitted
Input: usbtouchscreen: ignore eGalax/D-Wav/EETI HIDs
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>
1 parent 95d50b6 commit ae2aa3a

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎drivers/input/touchscreen/usbtouchscreen.c‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,12 +146,10 @@ enum {
146146

147147
#define USB_DEVICE_HID_CLASS(vend, prod) \
148148
.match_flags = USB_DEVICE_ID_MATCH_INT_CLASS \
149-
| USB_DEVICE_ID_MATCH_INT_PROTOCOL \
150149
| USB_DEVICE_ID_MATCH_DEVICE, \
151150
.idVendor = (vend), \
152151
.idProduct = (prod), \
153-
.bInterfaceClass = USB_INTERFACE_CLASS_HID, \
154-
.bInterfaceProtocol = USB_INTERFACE_PROTOCOL_MOUSE
152+
.bInterfaceClass = USB_INTERFACE_CLASS_HID
155153

156154
static const struct usb_device_id usbtouch_devices[] = {
157155
#ifdef CONFIG_TOUCHSCREEN_USB_EGALAX

0 commit comments

Comments
 (0)