]> git.baikalelectronics.ru Git - kernel.git/commit
USB: serial: ch341: fix open error handling
authorJohan Hovold <johan@kernel.org>
Fri, 6 Jan 2017 18:15:13 +0000 (19:15 +0100)
committerJohan Hovold <johan@kernel.org>
Mon, 9 Jan 2017 13:55:38 +0000 (14:55 +0100)
commite83e7e79a153bfc7d63625dae236fbf235f042bd
tree59e72b647441540b647a4571d091e3407e62d37d
parent9e0f0f4bdc95e167a66d67c8bb56eedbddf6da89
USB: serial: ch341: fix open error handling

Make sure to stop the interrupt URB before returning on errors during
open.

Fixes: eb0df4e027fb ("USB: usb-serial ch341: support for DTR/RTS/CTS")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/ch341.c