commit | 4473d054ceb572557954f9536731d39b20937b0c | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Wed Nov 05 18:41:59 2014 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Nov 05 11:25:25 2014 -0800 |
tree | 0c49f80d520843b6371afb7bcce04db90f3e3f34 | |
parent | ac0225f94f2af14d5db5a3ca2e9b151bb5488a52 [diff] |
USB: cdc-acm: only raise DTR on transitions from B0 Make sure to only raise DTR on transitions from B0 in set_termios. Also allow set_termios to be called from open with a termios_old of NULL. Note that DTR will not be raised prematurely in this case. Cc: stable <stable@vger.kernel.org> Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>