summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/ipaq.c
diff options
context:
space:
mode:
authorOliver Neukum <oliver@neukum.org>2008-07-03 17:14:16 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2008-07-04 03:20:38 +0200
commitb89cbb81aec2015b4020221564ced1569e1a8900 (patch)
tree68b6fba615612bbb752e312b055a071c37b60b00 /drivers/usb/serial/ipaq.c
parentUSB: fix Oops on loading ipaq module since 2.6.26 (diff)
downloadlinux-b89cbb81aec2015b4020221564ced1569e1a8900.tar.xz
linux-b89cbb81aec2015b4020221564ced1569e1a8900.zip
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,