projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
214916f
)
USB: cp210x: use generic open to start reading from device
author
Johan Hovold
<jhovold@gmail.com>
Sat, 15 May 2010 15:53:50 +0000
(17:53 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 20 May 2010 20:21:48 +0000
(13:21 -0700)
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/cp210x.c
patch
|
blob
|
history
diff --git
a/drivers/usb/serial/cp210x.c
b/drivers/usb/serial/cp210x.c
index 25e343ff61e78ed3ae73937f7104b08cc4fc2bed..ca27f2f8522d013b893fc38cda1efc569a979447 100644
(file)
--- a/
drivers/usb/serial/cp210x.c
+++ b/
drivers/usb/serial/cp210x.c
@@
-379,7
+379,7
@@
static int cp210x_open(struct tty_struct *tty, struct usb_serial_port *port)
return -EPROTO;
}
- result = usb_serial_generic_
submit_read_urb(port, GFP_KERNEL
);
+ result = usb_serial_generic_
open(tty, port
);
if (result)
return result;