c458b0
From: Adel Gadllah <adel.gadllah@gmail.com>
c458b0
Date: Tue, 7 Oct 2014 18:45:09 +0200
c458b0
Subject: [PATCH] HID: usbhid: always-poll quirk for Elan Touchscreen 016f
c458b0
c458b0
This device needs the quirk as well.
c458b0
c458b0
Signed-off-by: Adel Gadllah <adel.gadllah@gmail.com>
c458b0
---
c458b0
 drivers/hid/hid-ids.h           | 1 +
c458b0
 drivers/hid/usbhid/hid-quirks.c | 1 +
c458b0
 2 files changed, 2 insertions(+)
c458b0
c458b0
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
c458b0
index c293747f8c72..81bc10e0bba2 100644
c458b0
--- a/drivers/hid/hid-ids.h
c458b0
+++ b/drivers/hid/hid-ids.h
c458b0
@@ -299,6 +299,7 @@
c458b0
 #define USB_VENDOR_ID_ELAN		0x04f3
c458b0
 #define USB_DEVICE_ID_ELAN_TOUCHSCREEN	0x0089
c458b0
 #define USB_DEVICE_ID_ELAN_TOUCHSCREEN_009B	0x009b
c458b0
+#define USB_DEVICE_ID_ELAN_TOUCHSCREEN_016F	0x016f
c458b0
 
c458b0
 #define USB_VENDOR_ID_ELECOM		0x056e
c458b0
 #define USB_DEVICE_ID_ELECOM_BM084	0x0061
c458b0
diff --git a/drivers/hid/usbhid/hid-quirks.c b/drivers/hid/usbhid/hid-quirks.c
c458b0
index 2cdc1ecbf8e4..39a265df2909 100644
c458b0
--- a/drivers/hid/usbhid/hid-quirks.c
c458b0
+++ b/drivers/hid/usbhid/hid-quirks.c
c458b0
@@ -72,6 +72,7 @@ static const struct hid_blacklist {
c458b0
 	{ USB_VENDOR_ID_DMI, USB_DEVICE_ID_DMI_ENC, HID_QUIRK_NOGET },
c458b0
 	{ USB_VENDOR_ID_ELAN, USB_DEVICE_ID_ELAN_TOUCHSCREEN, HID_QUIRK_ALWAYS_POLL },
c458b0
 	{ USB_VENDOR_ID_ELAN, USB_DEVICE_ID_ELAN_TOUCHSCREEN_009B, HID_QUIRK_ALWAYS_POLL },
c458b0
+	{ USB_VENDOR_ID_ELAN, USB_DEVICE_ID_ELAN_TOUCHSCREEN_016F, HID_QUIRK_ALWAYS_POLL },
c458b0
 	{ USB_VENDOR_ID_ELO, USB_DEVICE_ID_ELO_TS2700, HID_QUIRK_NOGET },
c458b0
 	{ USB_VENDOR_ID_FORMOSA, USB_DEVICE_ID_FORMOSA_IR_RECEIVER, HID_QUIRK_NO_INIT_REPORTS },
c458b0
 	{ USB_VENDOR_ID_FREESCALE, USB_DEVICE_ID_FREESCALE_MX28, HID_QUIRK_NOGET },
c458b0
-- 
c458b0
1.9.3
c458b0