summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2020-11-16 19:18:22 +0300
committerJohan Hovold <johan@kernel.org>2020-12-04 16:57:23 +0300
commitd42976296c3389b556913d249f7c5626b754ec26 (patch)
tree86099457140c78e10575e0d1978ed257ca5155ee /tools/perf/scripts/python/stackcollapse.py
parent95168d624f3a8dee466525767200391a0fb006b9 (diff)
downloadlinux-d42976296c3389b556913d249f7c5626b754ec26.tar.xz
USB: serial: cp210x: clean up line-control handling
Update the line-control settings in one request unconditionally instead of setting the word-length, parity and stop-bit settings separately. This avoids multiple requests when several settings are changed even if this scheme could potentially also be used to detect unsupported device settings. Since all device types but CP2101 appears to support all settings, let's handle that one specifically and also report back the unsupported settings properly through termios by clearing the corresponding bits. Also drop the related unnecessary debug printks. Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions