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)
commit9498f954a4ec389806333041a1018909c6fe0518
tree3a9e7af0b35e02fc05c06068a2a4a14732e40dca
parent99759619b27662d1290901228d77a293e6e83200
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