Skip to contentSkip to conversation

Input: usbtouchscreen: ignore eGalax/D-Wav/EETI HIDs

PATCH In review Forest Bond 3 participants 5 messages Oct 21, 2013 – Nov 11, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/2 Input: usbtouchscreen: ignore eGalax/D-Wav/EETI HIDs

From: Forest Bond <[email protected]>

The HID driver now handles these devices, regardless of what protocol the device claims it supports.

---
 drivers/input/touchscreen/usbtouchscreen.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/input/touchscreen/usbtouchscreen.c +1 -3
index 721fdb3..ae4b6b9 100644
@@ -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
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 6 lines · Forest Bond

From: Forest Bond <[email protected]>

The HID driver now handles these devices, regardless of what protocol the device claims it supports.

Dmitry,

could you please Ack this, so that it can be applied together with 1/2? Thanks!

Quoted 25 lines
---
 drivers/input/touchscreen/usbtouchscreen.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/input/touchscreen/usbtouchscreen.c +1 -3
index 721fdb3..ae4b6b9 100644
@@ -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
Signature · 1 line
1.7.9.5
Signature · 2 lines
Jiri Kosina
SUSE Labs
maintainer Acked-by
#2 lore raw
Quoted 7 lines · Jiri Kosina
Quoted 5 lines · Forest Bond

From: Forest Bond <[email protected]>

The HID driver now handles these devices, regardless of what protocol the device claims it supports.

Quoted 6 lines
Quoted 1 line

Dmitry,

could you please Ack this, so that it can be applied together with 1/2? Thanks!

Jiri,

Sorry for the delay. Yes, please merge through your tree.

Quoted 30 lines
Quoted 26 lines
---
 drivers/input/touchscreen/usbtouchscreen.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/input/touchscreen/usbtouchscreen.c +1 -3
index 721fdb3..ae4b6b9 100644
@@ -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
Signature · 1 line
1.7.9.5
Signature · 2 lines
Jiri Kosina
SUSE Labs
Signature · 1 line
Dmitry
#3 lore raw
Quoted 9 lines · Dmitry Torokhov
Quoted 9 lines
Quoted 6 lines

From: Forest Bond <[email protected]>

The HID driver now handles these devices, regardless of what protocol the device claims it supports.

Dmitry,

Quoted 8 lines
Quoted 2 lines

could you please Ack this, so that it can be applied together with 1/2? Thanks!

Jiri,

Sorry for the delay. Yes, please merge through your tree.

Thanks, I have applied both patches now.

Signature · 2 lines
Jiri Kosina
SUSE Labs
#4 lore raw

Hi,

Quoted 14 lines · Jiri Kosina
Quoted 12 lines · Dmitry Torokhov
Quoted 11 lines
Quoted 6 lines

From: Forest Bond <[email protected]>

The HID driver now handles these devices, regardless of what protocol the device claims it supports.

Dmitry,

could you please Ack this, so that it can be applied together with 1/2? Thanks!

Quoted 7 lines
Quoted 5 lines

Jiri,

Sorry for the delay. Yes, please merge through your tree.

Thanks, I have applied both patches now.

Thanks for your help, Dmitry and Jiri.

-Forest