Commit b89cbb81 authored by Oliver Neukum's avatar Oliver Neukum Committed by Greg Kroah-Hartman

USB: adding comment for ipaq forcing number of ports

The reason for forcing a number of ports should be documented.
Signed-off-by: default avatarOliver Neukum <oneukum@suse.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 4edb966b
...@@ -570,6 +570,11 @@ static struct usb_serial_driver ipaq_device = { ...@@ -570,6 +570,11 @@ static struct usb_serial_driver ipaq_device = {
.description = "PocketPC PDA", .description = "PocketPC PDA",
.usb_driver = &ipaq_driver, .usb_driver = &ipaq_driver,
.id_table = ipaq_id_table, .id_table = ipaq_id_table,
/*
* some devices have an extra endpoint, which
* must be ignored as it would make the core
* create a second port which oopses when used
*/
.num_ports = 1, .num_ports = 1,
.open = ipaq_open, .open = ipaq_open,
.close = ipaq_close, .close = ipaq_close,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment