Skip to content

Commit 81f0f78

Browse files
andy-shevgregkh
authored andcommitted
Revert "serial: 8250: Let serial core initialise spin lock"
This reverts commit 679193b. 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: kernel test robot <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 679193b commit 81f0f78

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/tty/serial/8250/8250_port.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3194,6 +3194,7 @@ void serial8250_init_port(struct uart_8250_port *up)
31943194
{
31953195
struct uart_port *port = &up->port;
31963196

3197+
spin_lock_init(&port->lock);
31973198
port->ops = &serial8250_pops;
31983199
port->has_sysrq = IS_ENABLED(CONFIG_SERIAL_8250_CONSOLE);
31993200

0 commit comments

Comments
 (0)