commit | 030ee7ae52a46a2be52ccc8242c4a330aba8d38e | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Fri Jan 06 19:15:12 2017 +0100 |
committer | Johan Hovold <johan@kernel.org> | Mon Jan 09 14:55:37 2017 +0100 |
tree | 859037014f2994e463a04d6ed82abda0851c299c | |
parent | a20047f36e2f6a1eea4f1fd261aaa55882369868 [diff] |
USB: serial: ch341: fix modem-control and B0 handling The modem-control signals are managed by the tty-layer during open and should not be asserted prematurely when set_termios is called from driver open. Also make sure that the signals are asserted only when changing speed from B0. 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>