提交 40f92f0d 编写于 作者: J Johan Hovold 提交者: 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: NJohan Hovold <jhovold@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 80fa92c1
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册