summaryrefslogtreecommitdiff
path: root/drivers/usb/serial/ipaq.c
diff options
context:
space:
mode:
authorMatthias Geissert <matthias.geissert@web.de>2008-03-07 00:00:33 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2008-04-25 08:16:40 +0400
commite1879b19b0abdb387e4aeb0b935a486cc75042fb (patch)
tree8de16bb0ad64bc5dbb4ff0fcb2796919b6a14c0a /drivers/usb/serial/ipaq.c
parentd1b1842c393cf322712b669ec887397b89ed2312 (diff)
downloadlinux-e1879b19b0abdb387e4aeb0b935a486cc75042fb.tar.xz
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/serial/ipaq.c')
-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 = {
.usb_driver = &ipaq_driver,
.id_table = ipaq_id_table,
.num_interrupt_in = NUM_DONT_CARE,
- .num_bulk_in = 1,
- .num_bulk_out = 1,
- .num_ports = 1,
+ .num_bulk_in = NUM_DONT_CARE,
+ .num_bulk_out = NUM_DONT_CARE,
+ .num_ports = 2,
.open = ipaq_open,
.close = ipaq_close,
.attach = ipaq_startup,