]> 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)
commit345db9cf4fb2af0c3eb816127c415ab0e6e89ab2
tree59e72b647441540b647a4571d091e3407e62d37d
parent2023f120c06692fed4d71e196c21dec85196641b
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