summaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorJason Gerecke <killertofu@gmail.com>2012-10-29 23:45:30 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-10-30 00:10:29 -0700
commitb216e12d062d060f2c7b1a49b4b6a6a442cae79c (patch)
tree6575f40206d962559ff544c6087a35da979e31b5 /drivers/input
parent68fe0f0a6dcd2ac1ace5da3647a6d1cf0f4d2fea (diff)
downloadblackbird-op-linux-b216e12d062d060f2c7b1a49b4b6a6a442cae79c.tar.gz
blackbird-op-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')
-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) {
OpenPOWER on IntegriCloud