diff options
| author | Tudor Ambarus <[email protected]> | 2024-01-19 10:45:08 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-01-27 19:05:18 -0800 |
| commit | 314c2b399288f0058a8c5b6683292cbde5f1531b (patch) | |
| tree | 107a228d6717826e109283f60b5f2270d557230f /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 248bd076a70ccd6e30f766350b8844060366a7da (diff) | |
tty: serial: samsung: fix tx_empty() to return TIOCSER_TEMT
The core expects for tx_empty() either TIOCSER_TEMT when the tx is
empty or 0 otherwise. s3c24xx_serial_txempty_nofifo() might return
0x4, and at least uart_get_lsr_info() tries to clear exactly
TIOCSER_TEMT (BIT(1)). Fix tx_empty() to return TIOCSER_TEMT.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Tudor Ambarus <[email protected]>
Reviewed-by: Sam Protsenko <[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/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions