Parcourir la source

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>
Jason Gerecke il y a 12 ans
Parent
commit
b216e12d06
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      drivers/input/tablet/wacom_sys.c

+ 1 - 1
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) {