commit | a20047f36e2f6a1eea4f1fd261aaa55882369868 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Fri Jan 06 19:15:11 2017 +0100 |
committer | Johan Hovold <johan@kernel.org> | Mon Jan 09 14:55:37 2017 +0100 |
tree | cde5e83376e707d2a8952bf64584340efda3c8a0 | |
parent | 4e2da44691cffbfffb1535f478d19bc2dca3e62b [diff] |
USB: serial: ch341: fix open and resume after B0 The private baud_rate variable is used to configure the port at open and reset-resume and must never be set to (and left at) zero or reset-resume and all further open attempts will fail. Fixes: aa91def41a7b ("USB: ch341: set tty baud speed according to tty struct") 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>