USB: serial: ch341: fix resume after reset
authorJohan Hovold <johan@kernel.org>
Fri, 6 Jan 2017 18:15:14 +0000 (19:15 +0100)
committerJiri Slaby <jslaby@suse.cz>
Thu, 26 Jan 2017 16:40:45 +0000 (17:40 +0100)
commit842996d1baa2a5fc9f961396e78e47e57a69f533
tree2062089a2bd9e602c842cf44c75f0a9c93597db5
parentdcf586e94d7c5aaffbcd7004cbb267fdfac9904c
USB: serial: ch341: fix resume after reset

commit ce5e292828117d1b71cbd3edf9e9137cf31acd30 upstream.

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")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/usb/serial/ch341.c