projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80fa92c
)
USB: serial: allow custom multi-urb write bulk callbacks
author
Johan Hovold
<jhovold@gmail.com>
Wed, 17 Mar 2010 22:06:06 +0000
(23:06 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 20 May 2010 20:21:34 +0000
(13:21 -0700)
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>
drivers/usb/serial/generic.c
patch
|
blob
|
history
diff --git
a/drivers/usb/serial/generic.c
b/drivers/usb/serial/generic.c
index 9756b5c22d9460cf5a476f306fffdf31f56ef0b4..be52c748bccb1c569799975824916095883e5e65 100644
(file)
--- 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) {