aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorMatthias Geissert <matthias.geissert@web.de>2008-03-06 16:00:33 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2008-04-25 00:16:40 -0400
commite1879b19b0abdb387e4aeb0b935a486cc75042fb (patch)
tree8de16bb0ad64bc5dbb4ff0fcb2796919b6a14c0a /drivers/usb
parentd1b1842c393cf322712b669ec887397b89ed2312 (diff)
USB: ipaq: fix devices having more than one endpoint
The ipaq module supports devices with one endpoint only. Some devices, e.g. Yakumo Delta 300, have more than one endpoint. This patch fixes support for devices having up to 2 endpoints which used to work on older kernel versions. Signed-off-by: Matthias Geissert <matthias.geissert@web.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/serial/ipaq.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/serial/ipaq.c b/drivers/usb/serial/ipaq.c
index 9b38a08ac83a..17f2a53b8ba4 100644
--- a/drivers/usb/serial/ipaq.c
+++ b/drivers/usb/serial/ipaq.c
@@ -571,9 +571,9 @@ static struct usb_serial_driver ipaq_device = {
571 .usb_driver = &ipaq_driver, 571 .usb_driver = &ipaq_driver,
572 .id_table = ipaq_id_table, 572 .id_table = ipaq_id_table,
573 .num_interrupt_in = NUM_DONT_CARE, 573 .num_interrupt_in = NUM_DONT_CARE,
574 .num_bulk_in = 1, 574 .num_bulk_in = NUM_DONT_CARE,
575 .num_bulk_out = 1, 575 .num_bulk_out = NUM_DONT_CARE,
576 .num_ports = 1, 576 .num_ports = 2,
577 .open = ipaq_open, 577 .open = ipaq_open,
578 .close = ipaq_close, 578 .close = ipaq_close,
579 .attach = ipaq_startup, 579 .attach = ipaq_startup,