mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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 <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
This commit is contained in:
parent
c629dd7eb3
commit
e0bb8f9adf
1 changed files with 1 additions and 0 deletions
|
|
@ -758,6 +758,7 @@ static void mt_post_parse_default_settings(struct mt_device *td)
|
|||
quirks &= ~MT_QUIRK_NOT_SEEN_MEANS_UP;
|
||||
quirks &= ~MT_QUIRK_VALID_IS_INRANGE;
|
||||
quirks &= ~MT_QUIRK_VALID_IS_CONFIDENCE;
|
||||
quirks &= ~MT_QUIRK_CONTACT_CNT_ACCURATE;
|
||||
}
|
||||
|
||||
td->mtclass.quirks = quirks;
|
||||
|
|
|
|||
Loading…
Reference in a new issue