aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2021-01-25 14:48:12 +0100
committerJohan Hovold <johan@kernel.org>2021-02-01 10:03:42 +0100
commit8cce3bbfb4cffce097c823c29ba487d5a7422d37 (patch)
tree9c737647056996b4aefa348f21bfa41c53558d18 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent5951b8508855799fbb2d6a9553ab3b7af595ea94 (diff)
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 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions