hid:Fix maxcontacts problem on GeneralTouch multi-touchscreen.
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.
Signed-off-by Xianhan Yu <[email protected]>
--- drivers/hid/hid-multitouch.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/hid/hid-multitouch.c +1 -2
@@ -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
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
Signed-off-by Xianhan Yu <[email protected]>--- drivers/hid/hid-multitouch.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)drivers/hid/hid-multitouch.c +1
-2@@ -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