aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@gmail.com>2013-01-31 11:22:27 -0500
committerJiri Kosina <jkosina@suse.cz>2013-02-05 06:07:40 -0500
commite0bb8f9adf1e11cea419c845220d1524a525823b (patch)
tree1515564133777c8244c65e18a1ae1007937de5d8 /drivers/hid
parentc629dd7eb3b43bb09eecb035f016bdca32dc8acf (diff)
HID: multitouch: ensure that serial devices make no use of contact count
The serial protocol makes contact count a redondant information, and sometimes it is not reliable (TRS-Star are in this case). Disabling the use of contact count for these devices is thus safer. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid')
-rw-r--r--drivers/hid/hid-multitouch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c
index 1cf676d93049..2693059df534 100644
--- a/drivers/hid/hid-multitouch.c
+++ b/drivers/hid/hid-multitouch.c
@@ -758,6 +758,7 @@ static void mt_post_parse_default_settings(struct mt_device *td)
758 quirks &= ~MT_QUIRK_NOT_SEEN_MEANS_UP; 758 quirks &= ~MT_QUIRK_NOT_SEEN_MEANS_UP;
759 quirks &= ~MT_QUIRK_VALID_IS_INRANGE; 759 quirks &= ~MT_QUIRK_VALID_IS_INRANGE;
760 quirks &= ~MT_QUIRK_VALID_IS_CONFIDENCE; 760 quirks &= ~MT_QUIRK_VALID_IS_CONFIDENCE;
761 quirks &= ~MT_QUIRK_CONTACT_CNT_ACCURATE;
761 } 762 }
762 763
763 td->mtclass.quirks = quirks; 764 td->mtclass.quirks = quirks;