summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>2013-06-19 15:49:05 (GMT)
committerJiri Kosina <jkosina@suse.cz>2013-06-19 21:53:52 (GMT)
commit6f1891d01956cad406d2af8ed2e9cef6108bfc5e (patch)
tree1d186e77590a46a3242604fd74d488699b7f7afa /usr
parenta0be10c2e0c822c0fdd6b207696012060147f84b (diff)
downloadlinux-6f1891d01956cad406d2af8ed2e9cef6108bfc5e.tar.xz
HID: fix false positive out of range values
Commit 6da7066906e977d42104a859c490f5f9a300488c introduced in 3.3 "HID: ignore absolute values which don't fit between logical min and max" prevents some Posiflex touch screen to work because they do not provide logical min and max for their buttons. Thus, logical min and max are at 0, discarding the buttons events, and preventing the device to report appropriate X Y. Adding a check on "min < max" solves the problem. Reported-by: Jan Kandziora <jjj@gmx.de> Tested-by: Jan Kandziora <jjj@gmx.de> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions