tty: serial: print earlycon info after match->setup
authorHsin-Yi Wang <hsinyi@chromium.org>
Tue, 15 Sep 2020 05:48:25 +0000 (13:48 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Sep 2020 11:16:20 +0000 (13:16 +0200)
commitf28295cc8ce14b7a78bc3900eaba2e6c34111595
treea35b1de00cb6ad2acb89f4601cb788ed488c306b
parent4be002f1dec8418d88bbc556a0dfbaa9adc38ab0
tty: serial: print earlycon info after match->setup

8250 devices may modify iotype in their own earlycon setup. For example:
8250_mtk and 8250_uniphier force iotype to be MMIO32. Print earlycon info
after match->setup to reflect actual earlycon info.

Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org>
Link: https://lore.kernel.org/r/20200915054825.3289105-1-hsinyi@chromium.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/earlycon.c