projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'v3.10.106' into update
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
drivers
/
usb
/
serial
/
opticon.c
diff --git
a/drivers/usb/serial/opticon.c
b/drivers/usb/serial/opticon.c
index b0eb1dfc601ad10941c15ea1b68dec8f69b1e3e7..b93ab96573ef4f5c0ca8afb304b3d3e980d26138 100644
(file)
--- a/
drivers/usb/serial/opticon.c
+++ b/
drivers/usb/serial/opticon.c
@@
-143,7
+143,7
@@
static int opticon_open(struct tty_struct *tty, struct usb_serial_port *port)
usb_clear_halt(port->serial->dev, port->read_urb->pipe);
res = usb_serial_generic_open(tty, port);
- if (
!
res)
+ if (res)
return res;
/* Request CTS line state, sometimes during opening the current