Commit 40f92f0d authored by Johan Hovold's avatar Johan Hovold Committed by Greg Kroah-Hartman

USB: serial: allow custom multi-urb write bulk callbacks

Allow drivers to implement their own multi-urb write bulk callbacks as
we do for single urb writes.
Signed-off-by: default avatarJohan Hovold <jhovold@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 80fa92c1
...@@ -217,7 +217,7 @@ static int usb_serial_multi_urb_write(struct tty_struct *tty, ...@@ -217,7 +217,7 @@ static int usb_serial_multi_urb_write(struct tty_struct *tty,
usb_sndbulkpipe(port->serial->dev, usb_sndbulkpipe(port->serial->dev,
port->bulk_out_endpointAddress), port->bulk_out_endpointAddress),
buffer, towrite, buffer, towrite,
usb_serial_generic_write_bulk_callback, port); port->serial->type->write_bulk_callback, port);
status = usb_submit_urb(urb, GFP_ATOMIC); status = usb_submit_urb(urb, GFP_ATOMIC);
if (status) { if (status) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment