summaryrefslogtreecommitdiffstats
path: root/drivers/input/tablet
diff options
context:
space:
mode:
authorJason Gerecke <killertofu@gmail.com>2012-10-30 07:45:30 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-10-30 08:10:29 +0100
commitb216e12d062d060f2c7b1a49b4b6a6a442cae79c (patch)
tree6575f40206d962559ff544c6087a35da979e31b5 /drivers/input/tablet
parentMerge tag 'v3.7-rc3' into for-linus to sync up with recent USB changes (diff)
downloadlinux-b216e12d062d060f2c7b1a49b4b6a6a442cae79c.tar.xz
linux-b216e12d062d060f2c7b1a49b4b6a6a442cae79c.zip
Input: wacom - correct bad Cintiq 24HD check
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-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 2c1e12bf2ab4..858ad446de91 100644
--- a/drivers/input/tablet/wacom_sys.c
+++ b/drivers/input/tablet/wacom_sys.c
@@ -391,7 +391,7 @@ static int wacom_parse_hid(struct usb_interface *intf,
features->pktlen = WACOM_PKGLEN_TPC2FG;
}
- if (features->type == MTSCREEN || WACOM_24HDT)
+ if (features->type == MTSCREEN || features->type == WACOM_24HDT)
features->pktlen = WACOM_PKGLEN_MTOUCH;
if (features->type == BAMBOO_PT) {