[PATCH v2 14/15] vpl: make vpl deep probe aware

Sascha Hauer s.hauer at pengutronix.de
Fri Sep 27 03:37:47 PDT 2024


Ensure the VPL partner is probed before trying to find it.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 drivers/video/vpl.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/video/vpl.c b/drivers/video/vpl.c
index f8c2159cd9..35fb342a8f 100644
--- a/drivers/video/vpl.c
+++ b/drivers/video/vpl.c
@@ -27,6 +27,8 @@ static struct vpl *of_find_vpl(struct device_node *node)
 {
 	struct vpl *vpl;
 
+	of_device_ensure_probed(node);
+
 	list_for_each_entry(vpl, &vpls, list)
 		if (vpl->node == node)
 			return vpl;

-- 
2.39.5




More information about the barebox mailing list