]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "serial: sunhv: Initialize lock for non-registered console"
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sat, 11 Jul 2020 13:53:42 +0000 (16:53 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Jul 2020 16:21:49 +0000 (18:21 +0200)
commit6c8e0af17a7e27eb41c53e8405316e44859099cf
tree101a5335c3b235d8cc677c9966c4bf9e01109db2
parent1acc7e4ec9258d4efa364445eb771c661c8dbba8
Revert "serial: sunhv: Initialize lock for non-registered console"

This reverts commit 8d79f161621930d4372dcd1072fa6a4c8cd2ba8a.

There has been a quick fix against uninitialised lock revealed by
the commit c1964b873471 ("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: 8d79f1616219 ("serial: sunhv: Initialize lock for non-registered console")
Depends-on: c1964b873471 ("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-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sunhv.c