USB: serial: add support for multiple read urbs
authorJohan Hovold <jhovold@gmail.com>
Sun, 6 Nov 2011 18:06:37 +0000 (19:06 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Nov 2011 18:46:13 +0000 (10:46 -0800)
commitd83b405383c965498923f3561c3321e2b5df5727
treee3fea4f1f5ab17150acb55140ebfd5404edfd445
parentf5230a53c1d551811b077ccad219105786da1bec
USB: serial: add support for multiple read urbs

Add support for multiple read urbs to generic read implementation.

Use a static array of two read urbs for now which is enough to get a
50% throughput increase in one test setup.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/generic.c
drivers/usb/serial/usb-serial.c
include/linux/usb/serial.h