mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
serial: earlycon: Only try fdt when specify 'earlycon' exactly
When moving earlycon early_param handling to serial, the devicetree
earlycons enable condition changed slightly.
We used to only do that for 'console'/'earlycon', but now would also
for 'console='/'earlycon='.
Fix it by using the same condition like before.
Fixes: d503187b6c (of/serial: move earlycon early_param handling to serial)
Signed-off-by: Jeffy Chen <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
454d23797a
commit
447ef990ad
1 changed files with 1 additions and 1 deletions
|
|
@ -220,7 +220,7 @@ static int __init param_setup_earlycon(char *buf)
|
|||
if (IS_ENABLED(CONFIG_ACPI_SPCR_TABLE)) {
|
||||
earlycon_init_is_deferred = true;
|
||||
return 0;
|
||||
} else {
|
||||
} else if (!buf) {
|
||||
return early_init_dt_scan_chosen_stdout();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue