Revert "serial: amba-pl011: Make sure we initialize the port.lock spinlock"
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sat, 11 Jul 2020 13:53:43 +0000 (16:53 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Jul 2020 16:21:49 +0000 (18:21 +0200)
commit6a63ba971edbbfae280ea0cc4502e7ba4354125b
tree6af3a15a1648557952979a0c208a9a95016d8647
parent30336ef6f13e41097dd26c8e693ba75e802fcb21
Revert "serial: amba-pl011: Make sure we initialize the port.lock spinlock"

This reverts commit 8508f4cba308f785b2fd4b8c38849c117b407297.

There has been a quick fix against uninitialised lock revealed by
the commit f743061a85f5 ("serial: core: Initialise spin lock before use
in uart_configure_port()"). Since we have now better fix in serial core,
this may be safely reverted.

Fixes: 8508f4cba308 ("serial: amba-pl011: Make sure we initialize the port.lock spinlock")
Depends-on: f743061a85f5 ("serial: core: Initialise spin lock before use in uart_configure_port()")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20200711135346.71171-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/amba-pl011.c