diff options
| author | Johan Hovold <johan@kernel.org> | 2021-01-25 16:48:12 +0300 |
|---|---|---|
| committer | Johan Hovold <johan@kernel.org> | 2021-02-01 12:03:42 +0300 |
| commit | 8cce3bbfb4cffce097c823c29ba487d5a7422d37 (patch) | |
| tree | 9c737647056996b4aefa348f21bfa41c53558d18 /lib/mpi/mpi-cmp.c | |
| parent | 5951b8508855799fbb2d6a9553ab3b7af595ea94 (diff) | |
| download | linux-8cce3bbfb4cffce097c823c29ba487d5a7422d37.tar.xz | |
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>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions
