diff options
author | 2022-09-20 07:20:46 +0200 | |
---|---|---|
committer | 2022-09-22 16:14:08 +0200 | |
commit | 8ca01f8f70d1e54cf033945ac3539f52b7334c34 (patch) | |
tree | 10f9f3f6d01ac29d3202b03b7e8c658cb0b7e197 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | tty: serial: extract tx_ready() from __serial_lpc32xx_tx() (diff) | |
download | linux-dev-8ca01f8f70d1e54cf033945ac3539f52b7334c34.tar.xz linux-dev-8ca01f8f70d1e54cf033945ac3539f52b7334c34.zip |
tty: serial: switch mpc52xx_uart_int_{r,t}x_chars() to bool
mpc52xx_uart_int_rx_chars() returns unsigned int.
mpc52xx_uart_int_tx_chars() returns int.
The both results are binary ORed to the "keepgoing" variable. Unify all
three to bool as the only interesting value is whether we should keep
looping (true/false).
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20220920052049.20507-7-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