diff options
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) | |||
142 | usb_clear_halt(port->serial->dev, port->read_urb->pipe); | 142 | usb_clear_halt(port->serial->dev, port->read_urb->pipe); |
143 | 143 | ||
144 | res = usb_serial_generic_open(tty, port); | 144 | res = usb_serial_generic_open(tty, port); |
145 | if (!res) | 145 | if (res) |
146 | return res; | 146 | return res; |
147 | 147 | ||
148 | /* Request CTS line state, sometimes during opening the current | 148 | /* Request CTS line state, sometimes during opening the current |