aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/serial/ipaq.c
diff options
context:
space:
mode:
authorOliver Neukum2008-07-03 17:14:16 +0200
committerGreg Kroah-Hartman2008-07-03 18:20:38 -0700
commitb89cbb81aec2015b4020221564ced1569e1a8900 (patch)
tree68b6fba615612bbb752e312b055a071c37b60b00 /drivers/usb/serial/ipaq.c
parent4edb966b375dfbabfc96b580a164c5ae90584aa0 (diff)
USB: adding comment for ipaq forcing number of ports
The reason for forcing a number of ports should be documented. Signed-off-by: Oliver Neukum <oneukum@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/ipaq.c')
-rw-r--r--drivers/usb/serial/ipaq.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/usb/serial/ipaq.c b/drivers/usb/serial/ipaq.c
index 5e15dec9f315..d9fb3768a2d7 100644
--- a/drivers/usb/serial/ipaq.c
+++ b/drivers/usb/serial/ipaq.c
@@ -570,6 +570,11 @@ static struct usb_serial_driver ipaq_device = {
.description = "PocketPC PDA",
.usb_driver = &ipaq_driver,
.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,
.open = ipaq_open,
.close = ipaq_close,