[PATCH 0/2] serial: core: fix console port-lock regression

From: Johan Hovold
Date: Wed Sep 09 2020 - 13:02:58 EST


These patches fix up the regressions introduced by the console-detach
changes after which the port lock was no longer initialised for not-yet
registered consoles during port registration or during early console
setup.

Some of the reported driver regressions have been addressed by patching
individual drivers and later by a work-around for the first issue in
core but the early setup issue remained.

Johan


Johan Hovold (2):
serial: core: fix port-lock initialisation
serial: core: fix console port-lock regression

drivers/tty/serial/serial_core.c | 44 +++++++++++++++-----------------
include/linux/serial_core.h | 1 +
2 files changed, 21 insertions(+), 24 deletions(-)

--
2.26.2