]> git.karo-electronics.de Git - linux-beck.git/commit
USB: serial: reuse generic write urb and bulk-out buffer
authorJohan Hovold <jhovold@gmail.com>
Sun, 6 Nov 2011 18:06:31 +0000 (19:06 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Nov 2011 18:40:00 +0000 (10:40 -0800)
commit1ce7b9349fad3ab47ecf214c76e29cadff5e1a93
tree143ca7aec5d5d3a64ac3c0b098e596c64e205ab0
parentfd11961a2deaf4220ca90ce734439b4006db2911
USB: serial: reuse generic write urb and bulk-out buffer

Reuse first write urb and bulk-out buffer of the generic write
implementation for drivers that rely on port->write_urb rather than
allocating them separately.

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