projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4691c3
)
USB: pl2303: use usb_serial_generic_open
author
Johan Hovold
<jhovold@gmail.com>
Sun, 6 Nov 2011 18:06:36 +0000
(19:06 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 15 Nov 2011 18:43:46 +0000
(10:43 -0800)
Use generic open rather than calling usb_serial_submit_read_urb
directly.
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/pl2303.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/serial/pl2303.c
b/drivers/usb/serial/pl2303.c
index 9fdc944ff48dfc8f5256ff9ff844917c3de6348b..56aa1e6cc380c5247765acd1d9a4d7f0dbc5ff65 100644
(file)
--- a/
drivers/usb/serial/pl2303.c
+++ b/
drivers/usb/serial/pl2303.c
@@
-511,7
+511,7
@@
static int pl2303_open(struct tty_struct *tty, struct usb_serial_port *port)
return result;
}
- result = usb_serial_generic_
submit_read_urb(port, GFP_KERNEL
);
+ result = usb_serial_generic_
open(tty, port
);
if (result) {
usb_kill_urb(port->interrupt_in_urb);
return result;