commit | 26ba61f871b4aa9958bcebffcbeb558094d75928 | [log] [tgz] |
---|---|---|
author | Ping Cheng <pinglinux@gmail.com> | Tue May 19 17:42:02 2015 -0700 |
committer | Jiri Kosina <jkosina@suse.cz> | Wed May 20 12:00:29 2015 +0200 |
tree | fbb6190cbfce6bda0e6e075b7bdb97d6088240fe | |
parent | 849eca7b9dae0364e2fbe8afdf0fb610d12c9c8f [diff] |
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>