diff options
| author | Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com> | 2019-05-24 14:41:29 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-06-10 19:08:32 +0200 |
| commit | 277375b864e8147975b064b513f491e2a910e66a (patch) | |
| tree | 17834ba1b86bda8da380cf3711507f78022c0749 /tools/perf/scripts/python/bin | |
| parent | serial: uartps: Move the spinlock after the read of the tx empty (diff) | |
| download | linux-277375b864e8147975b064b513f491e2a910e66a.tar.gz linux-277375b864e8147975b064b513f491e2a910e66a.zip | |
serial: uartps: Add a timeout to the tx empty wait
In case the cable is not connected then the target gets into
an infinite wait for tx empty.
Add a timeout to the tx empty wait.
Reported-by: Jean-Francois Dagenais <jeff.dagenais@gmail.com>
Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
