diff options
| author | 2022-06-07 11:41:54 +0300 | |
|---|---|---|
| committer | 2022-06-10 13:44:47 +0200 | |
| commit | 90574a5b5a048af7c8c1de8977da498f1e2bdce9 (patch) | |
| tree | 9de64b935641dd7b602f73c436324f289854432d /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | serial: 8250: kill __do_stop_tx() (diff) | |
serial: 8250: handle __start_tx() call in start_tx()
As either start_tx_rs485() or start_tx() calls __start_tx() as the last
line of their logic, it makes sense to just move that call into
start_tx(). When start_tx_rs485() wants to defer tx using timer, return
false so start_tx() can return based on it.
Reorganize em485 code in serial8250_start_tx() so that the return can be
shared for the cases where tx start is deferred.
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20220607084154.8172-2-ilpo.jarvinen@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
