git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
USB: ch341: forward USB errors to USB serial core
[pandora-kernel.git]
/
drivers
/
usb
/
serial
/
ch341.c
diff --git
a/drivers/usb/serial/ch341.c
b/drivers/usb/serial/ch341.c
index
c4d95b0
..
2a874fd
100644
(file)
--- a/
drivers/usb/serial/ch341.c
+++ b/
drivers/usb/serial/ch341.c
@@
-339,7
+339,7
@@
static int ch341_open(struct tty_struct *tty, struct usb_serial_port *port)
dev_err(&port->dev, "%s - failed submitting interrupt urb,"
" error %d\n", __func__, r);
ch341_close(port);
-
return -EPROTO
;
+
goto out
;
}
r = usb_serial_generic_open(tty, port);