summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>2019-05-24 12:11:28 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-10 20:08:31 +0300
commit107475685abfdee504bb0ef4824f15797f6d2d4d (patch)
treeeb6f9e3ec923e4eb89deb8c7e9cee9dc40604536 /net/lapb/lapb_subr.c
parent1f74dfa803e3e82978d45b36a70926256344399e (diff)
downloadlinux-107475685abfdee504bb0ef4824f15797f6d2d4d.tar.xz
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 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions