[PATCH v1 3/3] media: ivsc: ace: probe ace device after init IPU bridge

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

 



Probe ivsc ace device after IPU bridge has been initialized.

Signed-off-by: Wentong Wu <wentong.wu@xxxxxxxxx>
---
 drivers/media/pci/intel/ivsc/mei_ace.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/pci/intel/ivsc/mei_ace.c b/drivers/media/pci/intel/ivsc/mei_ace.c
index 7879f1f..504e96f 100644
--- a/drivers/media/pci/intel/ivsc/mei_ace.c
+++ b/drivers/media/pci/intel/ivsc/mei_ace.c
@@ -403,7 +403,7 @@ static int mei_ace_setup_dev_link(struct mei_ace *ace)
 	snprintf(name, sizeof(name), "%s-%pUl", dev_name(dev->parent), &uuid);
 
 	csi_dev = device_find_child_by_name(dev->parent, name);
-	if (!csi_dev) {
+	if (!csi_dev || !dev_fwnode(csi_dev)) {
 		ret = -EPROBE_DEFER;
 		goto err;
 	}
-- 
2.7.4




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux