Skip to content
Commit 8cce3bbf authored by Johan Hovold's avatar Johan Hovold
Browse files

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: default avatarJohan Hovold <johan@kernel.org>
parent 5951b850
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment