From: Ping Cheng Date: Wed, 20 May 2015 00:42:02 +0000 (-0700) Subject: HID: wacom: fix an Oops caused by wacom_wac_finger_count_touches X-Git-Tag: omap-for-v4.2/wakeirq-drivers-v2^2~2^2~77^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26ba61f871b4aa9958bcebffcbeb558094d75928;p=pandora-kernel.git HID: wacom: fix an Oops caused by wacom_wac_finger_count_touches We assumed all touch interfaces report touch data. But, Bamboo and Intuos non-touch devices report express keys on touch interface. We need to check touch_max before counting touches. Reported-by: Tasos Sahanidis Signed-off-by: Ping Cheng Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed