diff options
author | Tudor Ambarus <tudor.ambarus@linaro.org> | 2024-01-19 10:45:21 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-01-27 19:05:19 -0800 |
commit | f09e8da69bb47c5e9b0c46af641fa0b6c0b12f94 (patch) | |
tree | 107739bf53a67f659f8ab960e5c71f7a0d894350 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | ece5cc2ac1e665d936d3c795bab55aeee743bca6 (diff) |
tty: serial: samsung: return bool for s3c24xx_serial_txempty_nofifo()
s3c24xx_serial_txempty_nofifo() returned either 0 or BIT(2), which is
counterintuitive. Make the method return bool, and return true when TX
is empty and false otherwise.
Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Link: https://lore.kernel.org/r/20240119104526.1221243-15-tudor.ambarus@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions