Input: wacom - fix "can not retrieve extra class descriptor" for DTH2242
authorPing Cheng <pinglinux@gmail.com>
Tue, 16 Apr 2013 23:10:08 +0000 (16:10 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 19 Apr 2013 15:52:41 +0000 (08:52 -0700)
Same as Cintiq 24HDT, DTH2242 has two interfaces sharing one configuration.
This patch ignores the second interface.

Signed-off-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/tablet/wacom_wac.c

index 9ec24df3650662eaf622828f5a13b918ea2ef21d..0bfd8cf252002d4095dc699cf8277931b1ec00a0 100644 (file)
@@ -2144,7 +2144,7 @@ const struct usb_device_id wacom_ids[] = {
        { USB_DEVICE_WACOM(0x44) },
        { USB_DEVICE_WACOM(0x45) },
        { USB_DEVICE_WACOM(0x59) },
-       { USB_DEVICE_WACOM(0x5D) },
+       { USB_DEVICE_DETAILED(0x5D, USB_CLASS_HID, 0, 0) },
        { USB_DEVICE_WACOM(0xB0) },
        { USB_DEVICE_WACOM(0xB1) },
        { USB_DEVICE_WACOM(0xB2) },