mbox series

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

Message ID 20200909143101.15389-1-johan@kernel.org
Headers show
Series serial: core: fix console port-lock regression | expand

Message

Johan Hovold Sept. 9, 2020, 2:30 p.m. UTC
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(-)