diff options
author | 2022-09-20 07:20:42 +0200 | |
---|---|---|
committer | 2022-09-22 16:14:07 +0200 | |
commit | d9c128117da41cf4cb0e80ae565b5d3ac79dffac (patch) | |
tree | aad6c3ed5eb55d8b42bf5e1f0fb6c4c75dd432ec /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | tty: serial: move and cleanup vt8500_tx_empty() (diff) | |
download | linux-dev-d9c128117da41cf4cb0e80ae565b5d3ac79dffac.tar.xz linux-dev-d9c128117da41cf4cb0e80ae565b5d3ac79dffac.zip |
tty: serial: clean up stop-tx part in altera_uart_tx_chars()
The "stop TX" path in altera_uart_tx_chars() is open-coded, so:
* use uart_circ_empty() to check if the buffer is empty, and
* when true, call altera_uart_stop_tx().
Cc: Tobias Klauser <tklauser@distanz.ch>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Acked-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20220920052049.20507-3-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions