aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2021-11-18 08:31:17 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-11-25 18:33:22 +0100
commit239ef19ef040698ccbabf25582b40c43554542fd (patch)
tree9089b85181bc5880aa410e95dff23ea16f3499de /tools/perf/scripts/python
parentmxser: use tty_port_close() in mxser_close() (diff)
downloadlinux-239ef19ef040698ccbabf25582b40c43554542fd.tar.gz
linux-239ef19ef040698ccbabf25582b40c43554542fd.zip
mxser: extract TX empty check from mxser_wait_until_sent()
And move it to new mxser_tx_empty(), because: 1) it simplifies the code (esp. the locking), and 2) serial_core needs such a hook anyway, so have it ready. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Link: https://lore.kernel.org/r/20211118073125.12283-12-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions