diff options
| author | Steffen Trumtrar <[email protected]> | 2022-02-17 22:18:39 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-02-25 10:21:44 +0100 |
| commit | 932d596378b0253354246f4aa3662add4883a167 (patch) | |
| tree | a7f1492705cf8de109f45e41df66e496dd3e6d6b /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 52fa786609dc142050b590148b7b9cd63bcdc413 (diff) | |
serial: 8250: Return early in .start_tx() if there are no chars to send
Don't start the whole chain for TX if there is no data to send. This is
mostly relevant for rs485 mode as there might be rts-before-send and
rts-after-send delays involved.
Signed-off-by: Steffen Trumtrar <[email protected]>
Signed-off-by: Uwe Kleine-König <[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/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions