diff options
author | Alex Shi <alex.shi@linaro.org> | 2017-02-27 12:13:50 +0800 |
---|---|---|
committer | Alex Shi <alex.shi@linaro.org> | 2017-02-27 12:13:50 +0800 |
commit | 0dbbc74421d25e7d490d7426b38f7942011deb4d (patch) | |
tree | 26a9d5968d5d0cd6c8b6fd8dee5cc3fb199e1e6e /drivers/usb/serial/opticon.c | |
parent | e2a316c741e51ce220003d49ea30e25468ca3b0f (diff) | |
parent | 3737a5f7223464efed3b0a9da2b045dae28d3a53 (diff) |
Merge branch 'linux-linaro-lsk-v4.9' into linux-linaro-lsk-v4.9-androidlsk-v4.9-18.05-androidlsk-v4.9-18.03-androidlsk-v4.9-18.02-androidlsk-v4.9-17.11-androidlsk-v4.9-17.09-androidlsk-v4.9-17.08-androidlsk-v4.9-17.06-android
Diffstat (limited to 'drivers/usb/serial/opticon.c')
-rw-r--r-- | drivers/usb/serial/opticon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/opticon.c b/drivers/usb/serial/opticon.c index 4b7bfb394a32..64bf258e7e00 100644 --- a/drivers/usb/serial/opticon.c +++ b/drivers/usb/serial/opticon.c @@ -142,7 +142,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 |