aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/tablet
diff options
context:
space:
mode:
authorPing Cheng <pinglinux@gmail.com>2012-06-28 19:48:17 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-06-28 19:59:18 -0400
commitadad004e1a50f8c64d9f116cd4934da937b51e27 (patch)
tree3b0bede183acc58baad810e5db674c5571749703 /drivers/input/tablet
parent84b63ad8477c822edbeb1e310b201609f33522ec (diff)
Input: wacom - BTN_TOOL_DOUBLETAP is not a valid device_type
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>
Diffstat (limited to 'drivers/input/tablet')
-rw-r--r--drivers/input/tablet/wacom_sys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/tablet/wacom_sys.c b/drivers/input/tablet/wacom_sys.c
index 9e8fdcf005a3..c24ab5468e02 100644
--- a/drivers/input/tablet/wacom_sys.c
+++ b/drivers/input/tablet/wacom_sys.c
@@ -503,7 +503,7 @@ static int wacom_retrieve_hid_descriptor(struct usb_interface *intf,
503 if (intf->cur_altsetting->desc.bInterfaceNumber == 0) { 503 if (intf->cur_altsetting->desc.bInterfaceNumber == 0) {
504 features->device_type = 0; 504 features->device_type = 0;
505 } else if (intf->cur_altsetting->desc.bInterfaceNumber == 2) { 505 } else if (intf->cur_altsetting->desc.bInterfaceNumber == 2) {
506 features->device_type = BTN_TOOL_DOUBLETAP; 506 features->device_type = BTN_TOOL_FINGER;
507 features->pktlen = WACOM_PKGLEN_BBTOUCH3; 507 features->pktlen = WACOM_PKGLEN_BBTOUCH3;
508 } 508 }
509 } 509 }