]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
HID: multitouch: fix maxcontacts problem on GeneralTouch
authorXianhan Yu <aroundight77@gmail.com>
Mon, 29 Oct 2012 15:04:37 +0000 (23:04 +0800)
committerJiri Kosina <jkosina@suse.cz>
Wed, 31 Oct 2012 09:42:32 +0000 (10:42 +0100)
commit58ad34bf62b9fc52c04e6aabe3ad5a47e4a00dc1
tree57e0dd804dcfca4ed5ec817d3335a7f53c5d21f1
parent65b258e9b57980c8241342928d5cd717ee11a68b
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>
drivers/hid/hid-multitouch.c