summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2021-01-25 16:48:12 +0300
committerJohan Hovold <johan@kernel.org>2021-02-01 12:03:42 +0300
commit8cce3bbfb4cffce097c823c29ba487d5a7422d37 (patch)
tree9c737647056996b4aefa348f21bfa41c53558d18 /lib/mpi/mpi-cmp.c
parent5951b8508855799fbb2d6a9553ab3b7af595ea94 (diff)
downloadlinux-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