]> git.baikalelectronics.ru Git - kernel.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)
commit74a21e7beb4c4a0d14d390efb4b9d67c224d9c0b
tree0085e1c271a4795447120dbc488b524aa93d229e
parent0cae944b9589e856801a429ff71cd456f4d62562
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