]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
tty: serial: lpc32xx_hs: fix missing console boot messages
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 15 Jan 2019 17:18:14 +0000 (18:18 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jan 2019 10:23:00 +0000 (11:23 +0100)
commitb30fd1a6f6f2920e037fc659a015d0b76c604931
treed1affb45e6b91c53223df70cf463ec8c14260abb
parent7d470ebf586bdac32e3ca1c5fcc049c36c6a10d5
tty: serial: lpc32xx_hs: fix missing console boot messages

When probing the HSUART, it is put in loopback mode in order to prevent a
potential issue that may happen on RX (Errata HSUART.1).

serial_lpc32xx_startup() moves it out of loopback mode but this is too late
to get the kernel boot messages before userspace opens the device.

Also get out of loopback mode in lpc32xx_hsuart_console_setup().

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/lpc32xx_hs.c