HID: multitouch: remove .maxcontacts field for eGalax
authorBenjamin Tissoires <benjamin.tissoires@enac.fr>
Wed, 23 Nov 2011 09:54:30 +0000 (10:54 +0100)
committerJiri Kosina <jkosina@suse.cz>
Wed, 23 Nov 2011 13:50:38 +0000 (14:50 +0100)
Some eGalax devices are 4 or 5 fingers touches, wereas others are 2.
This patch removes the limit in which all eGalax presents 2 touches.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@enac.fr>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-multitouch.c

index 94756d28af59f05f64767465c4483cfd84f9ac55..b3b632e797fee361c0e00078be68ce110efb701f 100644 (file)
@@ -171,7 +171,6 @@ struct mt_class mt_classes[] = {
        { .name = MT_CLS_EGALAX,
                .quirks =  MT_QUIRK_SLOT_IS_CONTACTID |
                        MT_QUIRK_VALID_IS_INRANGE,
-               .maxcontacts = 2,
                .sn_move = 4096,
                .sn_pressure = 32,
        },