Ensure the VPL partner is probed before trying to find it.
Signed-off-by: Sascha Hauer <[email protected]>
---
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