Skip to content

Commit

Permalink
USB: serial: allow custom multi-urb write bulk callbacks
Browse files Browse the repository at this point in the history
Allow drivers to implement their own multi-urb write bulk callbacks as
we do for single urb writes.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Johan Hovold authored and Greg Kroah-Hartman committed May 20, 2010
1 parent 80fa92c commit 40f92f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/serial/generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ static int usb_serial_multi_urb_write(struct tty_struct *tty,
usb_sndbulkpipe(port->serial->dev,
port->bulk_out_endpointAddress),
buffer, towrite,
usb_serial_generic_write_bulk_callback, port);
port->serial->type->write_bulk_callback, port);

status = usb_submit_urb(urb, GFP_ATOMIC);
if (status) {
Expand Down

0 comments on commit 40f92f0

Please sign in to comment.