commit | 107475685abfdee504bb0ef4824f15797f6d2d4d | [log] [tgz] |
---|---|---|
author | Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com> | Fri May 24 14:41:28 2019 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Jun 10 19:08:31 2019 +0200 |
tree | eb6f9e3ec923e4eb89deb8c7e9cee9dc40604536 | |
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>