projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f947a8
)
of/fdt: don't ignore errors from of_setup_earlycon
author
Christoph Hellwig
<hch@lst.de>
Tue, 10 Sep 2019 05:58:33 +0000
(07:58 +0200)
committer
Rob Herring
<robh@kernel.org>
Tue, 1 Oct 2019 12:12:43 +0000
(07:12 -0500)
If of_setup_earlycon we should keep on iterating earlycon options
instead of breaking out of the loop.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/fdt.c
patch
|
blob
|
history
diff --git
a/drivers/of/fdt.c
b/drivers/of/fdt.c
index
223d617
..
d01d834
100644
(file)
--- a/
drivers/of/fdt.c
+++ b/
drivers/of/fdt.c
@@
-947,8
+947,8
@@
int __init early_init_dt_scan_chosen_stdout(void)
if (fdt_node_check_compatible(fdt, offset, match->compatible))
continue;
- of_setup_earlycon(match, offset, options);
- return 0;
+ if (of_setup_earlycon(match, offset, options) == 0)
+
return 0;
}
return -ENODEV;
}