From 40f92f0dcd9b215c48c53a226328e8e36615e367 Mon Sep 17 00:00:00 2001 From: Johan Hovold Date: Wed, 17 Mar 2010 23:06:06 +0100 Subject: [PATCH] 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: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- drivers/usb/serial/generic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/serial/generic.c b/drivers/usb/serial/generic.c index 9756b5c22d94..be52c748bccb 100644 --- a/drivers/usb/serial/generic.c +++ b/drivers/usb/serial/generic.c @@ -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) { -- 2.20.1