diff options
author | Benjamin Tissoires <benjamin.tissoires@enac.fr> | 2011-03-18 09:27:54 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-03-21 12:05:51 -0400 |
commit | a841b62c5d5f75ce3676fde755696d30cc8de99a (patch) | |
tree | f88311bd7e6d5afdb3a8c4d8feee98d6399d2d24 /drivers/hid/hid-multitouch.c | |
parent | 043b403aede4a528ed99ceaf050f567f1283a23e (diff) |
HID: hid-multitouch: migrate Cando dual touch panels to hid-multitouch
This patch merges hid-cando into the unified multitouch driver.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@enac.fr>
Reviewed-by: Stéphane Chatty <chatty@enac.fr>
Reviewed-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-multitouch.c')
-rw-r--r-- | drivers/hid/hid-multitouch.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c index 5983e5559e81..e6e1ea251490 100644 --- a/drivers/hid/hid-multitouch.c +++ b/drivers/hid/hid-multitouch.c | |||
@@ -514,6 +514,20 @@ static void mt_remove(struct hid_device *hdev) | |||
514 | 514 | ||
515 | static const struct hid_device_id mt_devices[] = { | 515 | static const struct hid_device_id mt_devices[] = { |
516 | 516 | ||
517 | /* Cando panels */ | ||
518 | { .driver_data = MT_CLS_DUAL_INRANGE_CONTACTNUMBER, | ||
519 | HID_USB_DEVICE(USB_VENDOR_ID_CANDO, | ||
520 | USB_DEVICE_ID_CANDO_MULTI_TOUCH) }, | ||
521 | { .driver_data = MT_CLS_DUAL_INRANGE_CONTACTNUMBER, | ||
522 | HID_USB_DEVICE(USB_VENDOR_ID_CANDO, | ||
523 | USB_DEVICE_ID_CANDO_MULTI_TOUCH_10_1) }, | ||
524 | { .driver_data = MT_CLS_DUAL_INRANGE_CONTACTNUMBER, | ||
525 | HID_USB_DEVICE(USB_VENDOR_ID_CANDO, | ||
526 | USB_DEVICE_ID_CANDO_MULTI_TOUCH_11_6) }, | ||
527 | { .driver_data = MT_CLS_DUAL_INRANGE_CONTACTNUMBER, | ||
528 | HID_USB_DEVICE(USB_VENDOR_ID_CANDO, | ||
529 | USB_DEVICE_ID_CANDO_MULTI_TOUCH_15_6) }, | ||
530 | |||
517 | /* Cypress panel */ | 531 | /* Cypress panel */ |
518 | { .driver_data = MT_CLS_CYPRESS, | 532 | { .driver_data = MT_CLS_CYPRESS, |
519 | HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, | 533 | HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, |