serial-uartlite: Spinlock inside the loop.
authorMaarten Brock <m.brock@vanmierlo.com>
Tue, 16 Feb 2016 17:59:03 +0000 (18:59 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Mar 2016 00:11:14 +0000 (16:11 -0800)
commit19606eaf0b7b791fd5ecb61017ce0b367cce74a0
tree33ef15fb275b67d7e298c441b3b95e713a6e45fd
parent2905697a82eaf20606ced164d853b52d1b94aaa8
serial-uartlite: Spinlock inside the loop.

Better to hold the spinlock as short as possible.

Signed-off-by: Maarten Brock <m.brock@vanmierlo.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/uartlite.c