[PATCH 06/25] HID: multitouch: optimize FlatFrog panels

From: Benjamin Tissoires
Date: Fri Jan 25 2013 - 08:28:47 EST


Relying on ALWAYS_VALID enhance a little the processing time of
the events.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@xxxxxxxxx>
---
drivers/hid/hid-multitouch.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c
index 5a886bd..7dfe891 100644
--- a/drivers/hid/hid-multitouch.c
+++ b/drivers/hid/hid-multitouch.c
@@ -229,8 +229,9 @@ static struct mt_class mt_classes[] = {
},

{ .name = MT_CLS_FLATFROG,
- .quirks = MT_QUIRK_NOT_SEEN_MEANS_UP |
- MT_QUIRK_NO_AREA,
+ .quirks = MT_QUIRK_ALWAYS_VALID |
+ MT_QUIRK_NO_AREA |
+ MT_QUIRK_CONTACT_CNT_ACCURATE,
.sn_move = 2048,
.maxcontacts = 40,
},
--
1.8.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/