diff options
| author | Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com> | 2019-05-24 14:41:28 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-06-10 19:08:31 +0200 |
| commit | 107475685abfdee504bb0ef4824f15797f6d2d4d (patch) | |
| tree | eb6f9e3ec923e4eb89deb8c7e9cee9dc40604536 /tools/perf/scripts/python | |
| parent | serial: 8250-mtk: modify uart DMA rx (diff) | |
| download | linux-107475685abfdee504bb0ef4824f15797f6d2d4d.tar.gz linux-107475685abfdee504bb0ef4824f15797f6d2d4d.zip | |
serial: uartps: Move the spinlock after the read of the tx empty
Currently we are doing a read of the status register.
Move the spinlock after that as the reads need not be spinlock
protected. This patch prevents relaxing the cpu with spinlock held.
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')
0 files changed, 0 insertions, 0 deletions
