[PATCH] fixup! of: overlay: do not parse phandles as properties

Rouven Czerwinski r.czerwinski at pengutronix.de
Wed Jan 13 12:00:18 EST 2021


This breaks the eventual fixup of phandles into the linux device tree.
Fix this by also keeping the phandle properties in the DT.
---
 drivers/of/overlay.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/of/overlay.c b/drivers/of/overlay.c
index 0bebe26e39..d7695726fc 100644
--- a/drivers/of/overlay.c
+++ b/drivers/of/overlay.c
@@ -60,7 +60,6 @@ static int of_overlay_apply(struct device_node *target,
 
 		if (of_prop_cmp(prop->name, "phandle") == 0) {
 			target->phandle = be32_to_cpup(prop->value);
-			continue;
 		}
 
 		err = of_set_property(target, prop->name, prop->value,
-- 
2.29.2




More information about the barebox mailing list