mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
Revert "tty: serial: add missing spin_lock_init for SiFive serial console"
This reverts commit17b4efdf4e
. There has been a quick fix against uninitialised lock revealed by the commitf743061a85
("serial: core: Initialise spin lock before use in uart_configure_port()"). Since we have now better fix in serial core, this may be safely reverted. Fixes:17b4efdf4e
("tty: serial: add missing spin_lock_init for SiFive serial console") Depends-on:f743061a85
("serial: core: Initialise spin lock before use in uart_configure_port()") Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20200711135346.71171-3-andriy.shevchenko@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
6a63ba971e
commit
c6e45ae511
1 changed files with 0 additions and 1 deletions
|
@ -883,7 +883,6 @@ 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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue