Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0f177f8

Browse files
committed
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
Pull input fixes from Dmitry Torokhov: "Two more small fixups to the wacom driver" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: Input: wacom - fix "can not retrieve extra class descriptor" for DTH2242 Input: wacom - DTH2242 Grip Pen id was off by one bit
2 parents 53d945e + 5846115 commit 0f177f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/input/tablet/wacom_wac.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ static int wacom_intuos_inout(struct wacom_wac *wacom)
359359
case 0x802: /* Intuos4 General Pen */
360360
case 0x804: /* Intuos4 Marker Pen */
361361
case 0x40802: /* Intuos4 Classic Pen */
362-
case 0x18803: /* DTH2242 Grip Pen */
362+
case 0x18802: /* DTH2242 Grip Pen */
363363
case 0x022:
364364
wacom->tool[idx] = BTN_TOOL_PEN;
365365
break;
@@ -2144,7 +2144,7 @@ const struct usb_device_id wacom_ids[] = {
21442144
{ USB_DEVICE_WACOM(0x44) },
21452145
{ USB_DEVICE_WACOM(0x45) },
21462146
{ USB_DEVICE_WACOM(0x59) },
2147-
{ USB_DEVICE_WACOM(0x5D) },
2147+
{ USB_DEVICE_DETAILED(0x5D, USB_CLASS_HID, 0, 0) },
21482148
{ USB_DEVICE_WACOM(0xB0) },
21492149
{ USB_DEVICE_WACOM(0xB1) },
21502150
{ USB_DEVICE_WACOM(0xB2) },

0 commit comments

Comments
 (0)