mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 14:56:54 -04:00
Merge tag 'tty-5.7-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty
Pull tty/serial fix from Greg KH: "Here is a single serial driver fix for 5.7-rc7. It resolves an issue with the SiFive serial console init sequence that was reported a number of times. It has been in linux-next for a while now with no reported issues" * tag 'tty-5.7-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: tty: serial: add missing spin_lock_init for SiFive serial console
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user