summaryrefslogtreecommitdiff
path: root/drivers/memstick
diff options
context:
space:
mode:
authorShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>2019-05-24 14:41:28 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-10 19:08:31 +0200
commit107475685abfdee504bb0ef4824f15797f6d2d4d (patch)
treeeb6f9e3ec923e4eb89deb8c7e9cee9dc40604536 /drivers/memstick
parent1f74dfa803e3e82978d45b36a70926256344399e (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/memstick')
0 files changed, 0 insertions, 0 deletions