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 /drivers/leds/leds-is31fl319x.c | |
parent | 1f74dfa803e3e82978d45b36a70926256344399e (diff) |
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 'drivers/leds/leds-is31fl319x.c')
0 files changed, 0 insertions, 0 deletions