diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2008-12-16 16:26:07 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-07 13:00:06 -0500 |
commit | f1632df36b9467b75b7abfd2799aef67ec74a60a (patch) | |
tree | fde017b34d9b7211ef0364e71bfac61887f097d7 /drivers/usb/serial/option.c | |
parent | 50de36f7af3b1d791c402478210790c582126fe5 (diff) |
USB: option: increase outgoing buffer size and number
This should speed up the option driver's upload speed quite a bit. It has been tested by a number of different people on different devices with success.
Cc: Roland Wolters <roland.wolters@credativ.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/option.c')
-rw-r--r-- | drivers/usb/serial/option.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c index 4c9497d05d13..5ed183477aaf 100644 --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c | |||
@@ -522,9 +522,9 @@ static int debug; | |||
522 | /* per port private data */ | 522 | /* per port private data */ |
523 | 523 | ||
524 | #define N_IN_URB 4 | 524 | #define N_IN_URB 4 |
525 | #define N_OUT_URB 1 | 525 | #define N_OUT_URB 4 |
526 | #define IN_BUFLEN 4096 | 526 | #define IN_BUFLEN 4096 |
527 | #define OUT_BUFLEN 128 | 527 | #define OUT_BUFLEN 4096 |
528 | 528 | ||
529 | struct option_port_private { | 529 | struct option_port_private { |
530 | /* Input endpoints and buffer for this port */ | 530 | /* Input endpoints and buffer for this port */ |