Skip to contentSkip to conversation

hid:Fix maxcontacts problem on GeneralTouch multi-touchscreen.

PATCH In review Xianhan Yu 2 participants 2 messages Oct 29, 2012 HID

lore
Share & tools
lore

Xianhan Yu

author
#0 lore raw

PATCH 1/1 hid:Fix maxcontacts problem on GeneralTouch multi-touchscreen.

Fix maxcontacts problem for PWT GeneralTouch multi-touchscreen,modify driver for all GeneralTouch PWT touchscreen.

---
 drivers/hid/hid-multitouch.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/hid/hid-multitouch.c +1 -2
index 3eb02b9..7afeb77 100644
@@ -210,8 +210,7 @@ static struct mt_class mt_classes[] = {
 	},
 	{ .name	= MT_CLS_GENERALTOUCH_PWT_TENFINGERS,
 		.quirks	= MT_QUIRK_NOT_SEEN_MEANS_UP |
-			MT_QUIRK_SLOT_IS_CONTACTNUMBER,
-		.maxcontacts = 10
+			MT_QUIRK_SLOT_IS_CONTACTNUMBER
 	},
 
 	{ .name = MT_CLS_FLATFROG,
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 2 lines · Xianhan Yu

Fix maxcontacts problem for PWT GeneralTouch multi-touchscreen,modify driver for all GeneralTouch PWT touchscreen.

Could you please provide some more verbose changelog, like what is the problem, why the original code was wrong and why the patch fixes the problem?

Thanks.

Quoted 23 lines
---
 drivers/hid/hid-multitouch.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/hid/hid-multitouch.c +1 -2
index 3eb02b9..7afeb77 100644
@@ -210,8 +210,7 @@ static struct mt_class mt_classes[] = {
 	},
 	{ .name	= MT_CLS_GENERALTOUCH_PWT_TENFINGERS,
 		.quirks	= MT_QUIRK_NOT_SEEN_MEANS_UP |
-			MT_QUIRK_SLOT_IS_CONTACTNUMBER,
-		.maxcontacts = 10
+			MT_QUIRK_SLOT_IS_CONTACTNUMBER
 	},
 
 	{ .name = MT_CLS_FLATFROG,
Signature · 1 line
1.7.9.5
Signature · 2 lines
Jiri Kosina
SUSE Labs