aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-core.c
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2012-09-02 03:28:51 -0400
committerJiri Kosina <jkosina@suse.cz>2012-09-02 03:32:56 -0400
commit00315e4f5343bf8b0858f840884f6e19464698c7 (patch)
treefa7f0b7a0d036458b361242d25f72dcaa7931d51 /drivers/hid/hid-core.c
parent66a61fc0b2c3475f26f65b5f29ed5945b8efbf9e (diff)
HID: update hid_have_special_driver[] explanation
Update the comment of hid_have_special_driver[] field to reflect the fact that multitouch devices don't need to be present there. Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-core.c')
-rw-r--r--drivers/hid/hid-core.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index fa5fcca16a9a..8d3946af9ff6 100644
--- a/drivers/hid/hid-core.c
+++ b/drivers/hid/hid-core.c
@@ -1447,7 +1447,14 @@ void hid_disconnect(struct hid_device *hdev)
1447} 1447}
1448EXPORT_SYMBOL_GPL(hid_disconnect); 1448EXPORT_SYMBOL_GPL(hid_disconnect);
1449 1449
1450/* a list of devices for which there is a specialized driver on HID bus */ 1450/*
1451 * A list of devices for which there is a specialized driver on HID bus.
1452 *
1453 * Please note that for multitouch devices (driven by hid-multitouch driver),
1454 * there is a proper autodetection and autoloading in place (based on presence
1455 * of HID_DG_CONTACTID), so those devices don't need to be added to this list,
1456 * as we are doing the right thing in hid_scan_usage().
1457 */
1451static const struct hid_device_id hid_have_special_driver[] = { 1458static const struct hid_device_id hid_have_special_driver[] = {
1452 { HID_USB_DEVICE(USB_VENDOR_ID_A4TECH, USB_DEVICE_ID_A4TECH_WCP32PU) }, 1459 { HID_USB_DEVICE(USB_VENDOR_ID_A4TECH, USB_DEVICE_ID_A4TECH_WCP32PU) },
1453 { HID_USB_DEVICE(USB_VENDOR_ID_A4TECH, USB_DEVICE_ID_A4TECH_X5_005D) }, 1460 { HID_USB_DEVICE(USB_VENDOR_ID_A4TECH, USB_DEVICE_ID_A4TECH_X5_005D) },