diff options
author | Ping Cheng <pinglinux@gmail.com> | 2012-06-28 19:48:17 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-06-28 19:59:18 -0400 |
commit | adad004e1a50f8c64d9f116cd4934da937b51e27 (patch) | |
tree | 3b0bede183acc58baad810e5db674c5571749703 /drivers/input/tablet | |
parent | 84b63ad8477c822edbeb1e310b201609f33522ec (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.c | 2 |
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 | } |