# # Makefile for the Linux Ethernet layer. # obj-y += eth.o
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-01-06 19:15:13 +0100
committerJohan Hovold <johan@kernel.org>2017-01-09 14:55:38 +0100
commitf2950b78547ffb8475297ada6b92bc2d774d5461 (patch)
tree59e72b647441540b647a4571d091e3407e62d37d
parent030ee7ae52a46a2be52ccc8242c4a330aba8d38e (diff)
USB: serial: ch341: fix open error handling
Make sure to stop the interrupt URB before returning on errors during open. Fixes: 664d5df92e88 ("USB: usb-serial ch341: support for DTR/RTS/CTS") Cc: stable <stable@vger.kernel.org> Signed-off-by: Johan Hovold <johan@kernel.org>
-rw-r--r--drivers/usb/serial/ch341.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/drivers/usb/serial/ch341.c b/drivers/usb/serial/ch341.c