aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/generic.c
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2010-03-17 18:06:06 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-20 16:21:34 -0400
commit40f92f0dcd9b215c48c53a226328e8e36615e367 (patch)
treebc0bfe461140fcc3011d8534f6f6098c83091434 /drivers/usb/serial/generic.c
parent80fa92c1335a3c7f85a3e0d3dbffd79984fdccc0 (diff)
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 <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/generic.c')
-rw-r--r--drivers/usb/serial/generic.c2
1 files changed, 1 insertions, 1 deletions
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,
217 usb_sndbulkpipe(port->serial->dev, 217 usb_sndbulkpipe(port->serial->dev,
218 port->bulk_out_endpointAddress), 218 port->bulk_out_endpointAddress),
219 buffer, towrite, 219 buffer, towrite,
220 usb_serial_generic_write_bulk_callback, port); 220 port->serial->type->write_bulk_callback, port);
221 221
222 status = usb_submit_urb(urb, GFP_ATOMIC); 222 status = usb_submit_urb(urb, GFP_ATOMIC);
223 if (status) { 223 if (status) {