HID: hid-multitouch: Fix contact count on 3M panels
authorHenrik Rydberg <rydberg@euromail.se>
Wed, 5 Sep 2012 14:58:12 +0000 (16:58 +0200)
committerHenrik Rydberg <rydberg@euromail.se>
Wed, 19 Sep 2012 17:50:21 +0000 (19:50 +0200)
commitc5d40be5f5255c156a5ad851f395fb21bc44f379
treef53e3b73222b23dadf6d94d4b9d041eb96b252d5
parent3e1b5015d94ec0bdfa5bd8c80a19bcba82bc505c
HID: hid-multitouch: Fix contact count on 3M panels

Some devices report the number of contacts via the unreliable
CONTACTCOUNT usage, rather than using the CONTACTMAX feature.
Without this patch, the 3M devices are constrained to the default
maximum of ten fingers.

Cc: Benjamin Tissoires <benjamin.tissoires@enac.fr>
Acked-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
drivers/hid/hid-multitouch.c