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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
---
 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





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux