summaryrefslogtreecommitdiffstats
path: root/drivers/hid
diff options
context:
space:
mode:
authorXianhan Yu <aroundight77@gmail.com>2012-10-29 23:04:37 +0800
committerJiri Kosina <jkosina@suse.cz>2012-10-31 10:42:32 +0100
commit58ad34bf62b9fc52c04e6aabe3ad5a47e4a00dc1 (patch)
tree57e0dd804dcfca4ed5ec817d3335a7f53c5d21f1 /drivers/hid
parent65b258e9b57980c8241342928d5cd717ee11a68b (diff)
downloadblackbird-op-linux-58ad34bf62b9fc52c04e6aabe3ad5a47e4a00dc1.tar.gz
blackbird-op-linux-58ad34bf62b9fc52c04e6aabe3ad5a47e4a00dc1.zip
HID: multitouch: fix maxcontacts problem on GeneralTouch
Fix maxcontacts problem for PWT GeneralTouch multi-touchscreen. Our device didn't contain HID_DG_CONTACTMAX usage. This usage use to describe touchscreen's maxcontacts for hid-multitouch.c to get maxcontacts automatic. We fix the device that driver can get maxcontact from our device, hence it doesn't need .maxcontact=10. Now there is just one device class can fix all our PWT touchscreen. Signed-off-by: Xianhan Yu <aroundight77@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid')
-rw-r--r--drivers/hid/hid-multitouch.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c
index c97011cdf852..7867d69f0efe 100644
--- a/drivers/hid/hid-multitouch.c
+++ b/drivers/hid/hid-multitouch.c
@@ -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,
OpenPOWER on IntegriCloud