HID: Fix Speedlink VAD Cezanne support for some devices
authorStefan Kriwanek <dev@stefankriwanek.de>
Sun, 25 Aug 2013 08:46:13 +0000 (10:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Sep 2013 00:15:34 +0000 (17:15 -0700)
commit355c557b3e0164eaf75aded30e92da5a3a818c5f
tree562b3d01217c4d9860231dcc5d273e85f880935d
parentf09344e3369f147b5c2c91e57ef2e91e2b7e8320
HID: Fix Speedlink VAD Cezanne support for some devices

commit 06bb5219118fb098f4b0c7dcb484b28a52bf1c14 upstream.

Some devices of the "Speedlink VAD Cezanne" model need more aggressive fixing
than already done.

I made sure through testing that this patch would not interfere with the proper
working of a device that is bug-free. (The driver drops EV_REL events with
abs(val) >= 256, which are not achievable even on the highest laser resolution
hardware setting.)

Signed-off-by: Stefan Kriwanek <mail@stefankriwanek.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hid/hid-speedlink.c