Skip to content

Commit

Permalink
USB: option: increase outgoing buffer size and number
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Kroah-Hartman committed Jan 7, 2009
1 parent 50de36f commit f1632df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/usb/serial/option.c
Original file line number Diff line number Diff line change
Expand Up @@ -522,9 +522,9 @@ static int debug;
/* per port private data */

#define N_IN_URB 4
#define N_OUT_URB 1
#define N_OUT_URB 4
#define IN_BUFLEN 4096
#define OUT_BUFLEN 128
#define OUT_BUFLEN 4096

struct option_port_private {
/* Input endpoints and buffer for this port */
Expand Down

0 comments on commit f1632df

Please sign in to comment.