diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/serial/oti6858.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/oti6858.c b/drivers/usb/serial/oti6858.c index 6770ad0d505b..2161d1c3c089 100644 --- a/drivers/usb/serial/oti6858.c +++ b/drivers/usb/serial/oti6858.c | |||
@@ -585,7 +585,7 @@ static int oti6858_open(struct tty_struct *tty, struct usb_serial_port *port) | |||
585 | dev_err(&port->dev, "%s(): usb_submit_urb() failed" | 585 | dev_err(&port->dev, "%s(): usb_submit_urb() failed" |
586 | " with error %d\n", __func__, result); | 586 | " with error %d\n", __func__, result); |
587 | oti6858_close(port); | 587 | oti6858_close(port); |
588 | return -EPROTO; | 588 | return result; |
589 | } | 589 | } |
590 | 590 | ||
591 | /* setup termios */ | 591 | /* setup termios */ |