summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-core.c
diff options
context:
space:
mode:
authorPing Cheng2015-05-20 02:42:02 +0200
committerJiri Kosina2015-05-20 12:00:29 +0200
commit26ba61f871b4aa9958bcebffcbeb558094d75928 (patch)
treefbb6190cbfce6bda0e6e075b7bdb97d6088240fe /drivers/hid/hid-core.c
parentHID: usbhid: Add HID_QUIRK_NOGET for Aten DVI KVM switch (diff)
downloadkernel-qcow2-linux-26ba61f871b4aa9958bcebffcbeb558094d75928.tar.gz
kernel-qcow2-linux-26ba61f871b4aa9958bcebffcbeb558094d75928.tar.xz
kernel-qcow2-linux-26ba61f871b4aa9958bcebffcbeb558094d75928.zip
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 <tasos@tasossah.com> Signed-off-by: Ping Cheng <pingc@wacom.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-core.c')
0 files changed, 0 insertions, 0 deletions