diff options
author | Benjamin Tissoires <benjamin.tissoires@enac.fr> | 2011-01-31 05:28:19 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-01-31 09:16:08 -0500 |
commit | b79b36be56da0ba61fa10a3fa96939c3a3eb499a (patch) | |
tree | e5d9aefd274055b4dc2316aabd00a33a23a224b4 /drivers/hid/hid-multitouch.c | |
parent | 581548db3b3c0f6e25b500329eb02e3c72e7acbe (diff) |
HID: hid-multitouch: change default mt_class
The safest quirk for a device (the one that works out of the box for
most of them) is MT_QUIRK_NOT_SEEN_MEANS_UP. Indeed, it does not
make any assumption on the device. When adding a new device, we can
easily test it against MT_CLS_DEFAULT, and then optimize it with other
quirks: that's why no device use MT_CLS_DEFAULT right now.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@enac.fr>
Reviewed-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-multitouch.c')
-rw-r--r-- | drivers/hid/hid-multitouch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c index 07d3183fdde5..86863a32b089 100644 --- a/drivers/hid/hid-multitouch.c +++ b/drivers/hid/hid-multitouch.c | |||
@@ -104,7 +104,7 @@ static int find_slot_from_contactid(struct mt_device *td) | |||
104 | 104 | ||
105 | struct mt_class mt_classes[] = { | 105 | struct mt_class mt_classes[] = { |
106 | { .name = MT_CLS_DEFAULT, | 106 | { .name = MT_CLS_DEFAULT, |
107 | .quirks = MT_QUIRK_VALID_IS_INRANGE, | 107 | .quirks = MT_QUIRK_NOT_SEEN_MEANS_UP, |
108 | .maxcontacts = 10 }, | 108 | .maxcontacts = 10 }, |
109 | { .name = MT_CLS_DUAL1, | 109 | { .name = MT_CLS_DUAL1, |
110 | .quirks = MT_QUIRK_VALID_IS_INRANGE | | 110 | .quirks = MT_QUIRK_VALID_IS_INRANGE | |