Commit 81f0f789 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Greg Kroah-Hartman

Revert "serial: 8250: Let serial core initialise spin lock"

This reverts commit 679193b7.

It appears that in QEmu the lock has been initialised differently
(it wasn't obvious on real hardware during testing). Let's
revert the change until the better approach will be developed.
Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20200802111612.36189-1-andriy.shevchenko@linux.intel.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 679193b7
...@@ -3194,6 +3194,7 @@ void serial8250_init_port(struct uart_8250_port *up) ...@@ -3194,6 +3194,7 @@ void serial8250_init_port(struct uart_8250_port *up)
{ {
struct uart_port *port = &up->port; struct uart_port *port = &up->port;
spin_lock_init(&port->lock);
port->ops = &serial8250_pops; port->ops = &serial8250_pops;
port->has_sysrq = IS_ENABLED(CONFIG_SERIAL_8250_CONSOLE); port->has_sysrq = IS_ENABLED(CONFIG_SERIAL_8250_CONSOLE);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment