Merge 4.4-rc6 into tty-next
We want the serial/tty fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
@@ -122,6 +122,7 @@ static int __init register_earlycon(char *buf, const struct earlycon_id *match)
|
||||
if (buf && !parse_options(&early_console_dev, buf))
|
||||
buf = NULL;
|
||||
|
||||
spin_lock_init(&port->lock);
|
||||
port->uartclk = BASE_BAUD * 16;
|
||||
if (port->mapbase)
|
||||
port->membase = earlycon_map(port->mapbase, 64);
|
||||
@@ -209,6 +210,7 @@ int __init of_setup_earlycon(unsigned long addr,
|
||||
int err;
|
||||
struct uart_port *port = &early_console_dev.port;
|
||||
|
||||
spin_lock_init(&port->lock);
|
||||
port->iotype = UPIO_MEM;
|
||||
port->mapbase = addr;
|
||||
port->uartclk = BASE_BAUD * 16;
|
||||
|
Reference in New Issue
Block a user