aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/tty
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-05-25 13:22:05 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-05-25 13:22:05 +0200
commit344235f55707f6f7538378e9790cec58e86ebbca (patch)
tree8c4f41904450e9b929c162a32faf6141ff26ce75 /drivers/tty
parentsc16is7xx: Read the LSR register for basic device presence check (diff)
parentLinux 5.7-rc7 (diff)
downloadwireguard-linux-344235f55707f6f7538378e9790cec58e86ebbca.tar.xz
wireguard-linux-344235f55707f6f7538378e9790cec58e86ebbca.zip
Merge 5.7-rc7 into tty-next
We need the tty/serial fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/serial/sifive.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/serial/sifive.c b/drivers/tty/serial/sifive.c
index 13eadcb8aec4..0b5110dad051 100644
--- a/drivers/tty/serial/sifive.c
+++ b/drivers/tty/serial/sifive.c
@@ -883,6 +883,7 @@ console_initcall(sifive_console_init);
static void __ssp_add_console_port(struct sifive_serial_port *ssp)
{
+ spin_lock_init(&ssp->port.lock);
sifive_serial_console_ports[ssp->port.line] = ssp;
}