projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4edb966
)
USB: adding comment for ipaq forcing number of ports
author
Oliver Neukum
<oliver@neukum.org>
Thu, 3 Jul 2008 15:14:16 +0000
(17:14 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 4 Jul 2008 01:20:38 +0000
(18:20 -0700)
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>
drivers/usb/serial/ipaq.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/serial/ipaq.c
b/drivers/usb/serial/ipaq.c
index 5e15dec9f315f319eab3ed98091ed57d6ba7d09c..d9fb3768a2d7b1ba869e4275bcc6ec9d29d1ed2c 100644
(file)
--- 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,