aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorJiri Slaby <[email protected]>2021-09-22 09:59:32 +0200
committerGreg Kroah-Hartman <[email protected]>2021-10-05 14:08:08 +0200
commit3fdfa165d79bdbdac1fdd6b4f3eebd78bf8bc8fc (patch)
tree9000abfe5207dd23f18c2c7bd22d85c16ee5935e /tools/perf/scripts/python/event_analyzing_sample.py
parent9136c68346d096697935b9840782f7051d5796c5 (diff)
mxser: restore baud rate if its setting fails
If a user tries to set a too high rate, it fails due to check in mxser_set_baud(). But the high rate remains set in termios, so the user might think everything went smooth. Restore the baud rate from the old_termios if this happens, so that user knows nothing was changed in fact. It used to behave the correct way many years ago, but somehow the restoration vanished with commit 1c45607ad3eb (Char: mxser, remove it) -- the commit removed mxser's older clone. Signed-off-by: Jiri Slaby <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions