USB: serial: ch341: fix resume after reset
authorJohan Hovold <johan@kernel.org>
Fri, 6 Jan 2017 18:15:14 +0000 (19:15 +0100)
committerJohan Hovold <johan@kernel.org>
Mon, 9 Jan 2017 13:55:38 +0000 (14:55 +0100)
commitce5e292828117d1b71cbd3edf9e9137cf31acd30
tree166a5fabbc2bbd48906e274cadcc31e6bd1fc271
parentf2950b78547ffb8475297ada6b92bc2d774d5461
USB: serial: ch341: fix resume after reset

Fix reset-resume handling which failed to resubmit the read and
interrupt URBs, thereby leaving a port that was open before suspend in a
broken state until closed and reopened.

Fixes: 1ded7ea47b88 ("USB: ch341 serial: fix port number changed after
resume")
Fixes: 2bfd1c96a9fb ("USB: serial: ch341: remove reset_resume callback")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/ch341.c