Input: wacom - BTN_TOOL_DOUBLETAP is not a valid device_type
authorPing Cheng <pinglinux@gmail.com>
Thu, 28 Jun 2012 23:48:17 +0000 (16:48 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 28 Jun 2012 23:59:18 +0000 (16:59 -0700)
It is replaced by BTN_TOOL_FINGER.

Signed-off-by: Ping Cheng <pingc@wacom.com>
Tested-by: Rafi Rubin <rafi@seas.upenn.edu>
Reviewed-by: Jason Gerecke <killertofu@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/tablet/wacom_sys.c

index 9e8fdcf005a3a8f3dd0437299b62220250ce198e..c24ab5468e02e5eb605577ef13bbde651ba4cc03 100644 (file)
@@ -503,7 +503,7 @@ static int wacom_retrieve_hid_descriptor(struct usb_interface *intf,
                if (intf->cur_altsetting->desc.bInterfaceNumber == 0) {
                        features->device_type = 0;
                } else if (intf->cur_altsetting->desc.bInterfaceNumber == 2) {
-                       features->device_type = BTN_TOOL_DOUBLETAP;
+                       features->device_type = BTN_TOOL_FINGER;
                        features->pktlen = WACOM_PKGLEN_BBTOUCH3;
                }
        }