]> git.baikalelectronics.ru Git - kernel.git/commit
HID: rmi: Disable populating F30 when the touchpad has physical buttons
authorAndrew Duggan <aduggan@synaptics.com>
Tue, 16 Jun 2015 21:08:41 +0000 (14:08 -0700)
committerJiri Kosina <jkosina@suse.cz>
Tue, 16 Jun 2015 21:40:02 +0000 (23:40 +0200)
commit087e38d6389c27c3c27d40743adbed11b7b4858f
tree06591f99a3bdf675b8dfc018637f8f846f846bb1
parent4dd7f4f0400791ece1779f05afcee88e57c78a8b
HID: rmi: Disable populating F30 when the touchpad has physical buttons

Physical buttons do not use F30 to report their state and in some cases the
data reported in F30 is incorrect and inconsistent with what is reported by
the HID descriptor. When physical buttons are present, ignore F30 and let
hid-input report buttons based on what is defined in the HID descriptor.

Signed-off-by: Andrew Duggan <aduggan@synaptics.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-rmi.c