]> git.karo-electronics.de Git - linux-beck.git/commit
HID: handle all multitouch devices through hid-multitouch
authorBenjamin Tissoires <benjamin.tissoires@enac.fr>
Tue, 6 Mar 2012 16:57:04 +0000 (17:57 +0100)
committerJiri Kosina <jkosina@suse.cz>
Mon, 12 Mar 2012 10:27:07 +0000 (11:27 +0100)
commit8d179a9ef25a64b451e2bbd46f6a6c16c6a72eb1
tree0085e1c271a4795447120dbc488b524aa93d229e
parented9d5c96147b3bed6178252e8e04b27b7d32edd0
HID: handle all multitouch devices through hid-multitouch

When the quirk HID_QUIRK_MULTITOUCH is present and when hid-multitouch
is loaded, let's pass the device to hid-multitouch even if it has
not been registered in hid-multitouch.

If any other driver wants to take precedence over hid-multitouch,
the usual way of adding it to hid_have_special_driver will work as
the quirk HID_QUIRK_MULTITOUCH won't be set by the generic hid layer.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@enac.fr>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-core.c
drivers/hid/hid-multitouch.c