HID: waltop: Extend barrel button fix
authorNikolai Kondrashov <spbnick@gmail.com>
Sun, 20 May 2012 18:23:36 +0000 (21:23 +0300)
committerJiri Kosina <jkosina@suse.cz>
Mon, 21 May 2012 11:21:18 +0000 (13:21 +0200)
commited13794925786a64b2a21389d40a09e4012c357d
tree3acba453fb5bc1a475347dbc24b5c12d215305a0
parentd2ee4dd9a4d68543bddddb69d38cba51b4373e6b
HID: waltop: Extend barrel button fix

Extend Waltop barrel button fix to all models: ignore reported pressure when a
barrel button is pressed, because it is rarely correct. Report zero pressure in
such cases instead.

Signed-off-by: Nikolai Kondrashov <spbnick@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-waltop.c