]> git.baikalelectronics.ru Git - kernel.git/commit
HID: hid-multitouch: Auto detection of maxcontacts
authorBenjamin Tissoires <benjamin.tissoires@enac.fr>
Fri, 18 Mar 2011 13:27:52 +0000 (14:27 +0100)
committerJiri Kosina <jkosina@suse.cz>
Mon, 21 Mar 2011 16:04:25 +0000 (17:04 +0100)
commit027c335bc534b0cab440cdff100b1b2bac7511ea
tree3a9e7af0b35e02fc05c06068a2a4a14732e40dca
parent741965cb051cebc08019fbee15725ebf18eeba51
HID: hid-multitouch: Auto detection of maxcontacts

This patch enables support of autodetection of maxcontacts.
When adding support for a new device, one is now able to let
the device tell how many contacts it supports, or to manually
set the value if the device happens to provide wrong information.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@enac.fr>
Reviewed-by: Stéphane Chatty <chatty@enac.fr>
Reviewed-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-multitouch.c