summaryrefslogtreecommitdiffstats
path: root/USB-quirks-enable-device-qualifier-quirk-for-another.patch
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@fedoraproject.org>2014-10-14 15:35:49 -0400
committerJosh Boyer <jwboyer@fedoraproject.org>2014-10-14 15:35:49 -0400
commitb7f21faed0bef6a76fdb45695e80c3474c233829 (patch)
treed5972612de879f6f5b79e112634b763edc823e98 /USB-quirks-enable-device-qualifier-quirk-for-another.patch
parent7f1b8a88fb1168d40d9c812ca4d71ba3655c9115 (diff)
downloadkernel-b7f21faed0bef6a76fdb45695e80c3474c233829.tar.gz
kernel-b7f21faed0bef6a76fdb45695e80c3474c233829.tar.xz
kernel-b7f21faed0bef6a76fdb45695e80c3474c233829.zip
Add patches to fix elantech touchscreens (rhbz 1149509)
Diffstat (limited to 'USB-quirks-enable-device-qualifier-quirk-for-another.patch')
-rw-r--r--USB-quirks-enable-device-qualifier-quirk-for-another.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/USB-quirks-enable-device-qualifier-quirk-for-another.patch b/USB-quirks-enable-device-qualifier-quirk-for-another.patch
new file mode 100644
index 000000000..49f84d97e
--- /dev/null
+++ b/USB-quirks-enable-device-qualifier-quirk-for-another.patch
@@ -0,0 +1,32 @@
+From: Adel Gadllah <adel.gadllah-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
+Date: Sun, 5 Oct 2014 18:32:34 +0200
+Subject: [PATCH] USB: quirks: enable device-qualifier quirk for another Elan
+ touchscreen
+
+Currently this quirk is enabled for the model with the device id 0x0089, it
+is needed for the 0x009b model, which is found on the Fujitsu Lifebook u904
+as well.
+
+Signed-off-by: Adel Gadllah <adel.gadllah-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
+---
+ drivers/usb/core/quirks.c | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c
+index 5ae883dc21f5..0999e0285e07 100644
+--- a/drivers/usb/core/quirks.c
++++ b/drivers/usb/core/quirks.c
+@@ -97,6 +97,10 @@ static const struct usb_device_id usb_quirk_list[] = {
+ { USB_DEVICE(0x04f3, 0x0089), .driver_info =
+ USB_QUIRK_DEVICE_QUALIFIER },
+
++ /* Elan Touchscreen */
++ { USB_DEVICE(0x04f3, 0x009b), .driver_info =
++ USB_QUIRK_DEVICE_QUALIFIER },
++
+ /* Roland SC-8820 */
+ { USB_DEVICE(0x0582, 0x0007), .driver_info = USB_QUIRK_RESET_RESUME },
+
+--
+1.9.3
+