commit | bffbd034cbe660b5d60aea356557101519b979ac | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Wed Nov 05 18:41:59 2014 +0100 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sun Apr 05 10:20:56 2020 +0200 |
tree | 065b0c022643d9dfc722bfa97fca555fde322d66 | |
parent | 294b612d67bef29586cb252168b5c2424369e100 [diff] |
USB: cdc-acm: only raise DTR on transitions from B0 commit 4473d054ceb572557954f9536731d39b20937b0c upstream. 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. Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Zefan Li <lizefan@huawei.com>