linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2/2] Input: usbtouchscreen: ignore eGalax/D-Wav/EETI HIDs
@ 2013-10-21 16:38 Forest Bond
  2013-11-05  9:53 ` Jiri Kosina
  0 siblings, 1 reply; 5+ messages in thread
From: Forest Bond @ 2013-10-21 16:38 UTC (permalink / raw)
  To: Dmitry Torokhov
  Cc: linux-input, Sebastian Dalfuß, Daniel Ritz, Max Weninger,
	Jiri Kosina, Christian Engelmayer

From: Forest Bond <forest.bond@rapidrollout.com>

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>
---
 drivers/input/touchscreen/usbtouchscreen.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/usbtouchscreen.c b/drivers/input/touchscreen/usbtouchscreen.c
index 721fdb3..ae4b6b9 100644
--- a/drivers/input/touchscreen/usbtouchscreen.c
+++ b/drivers/input/touchscreen/usbtouchscreen.c
@@ -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
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-11-11 13:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-21 16:38 [PATCH 2/2] Input: usbtouchscreen: ignore eGalax/D-Wav/EETI HIDs Forest Bond
2013-11-05  9:53 ` Jiri Kosina
2013-11-08 17:49   ` Dmitry Torokhov
2013-11-11 10:21     ` Jiri Kosina
2013-11-11 13:06       ` Forest Bond

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).