mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
USB: serial: cp210x: fix modem-control handling
The vendor request used to set the flow-control settings also sets the state of the modem-control lines. Add state variables to keep track of the modem-control lines to avoid always asserting the lines whenever the flow-control settings are updated. This specifically also avoids asserting DTR/RTS when opening a port with the line speed set to B0. Signed-off-by: Johan Hovold <johan@kernel.org>
This commit is contained in:
parent
5951b85088
commit
8cce3bbfb4
1 changed files with 16 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue