We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc5aed4 commit 641fb0eCopy full SHA for 641fb0e
drivers/iommu/of_iommu.c
@@ -222,10 +222,10 @@ const struct iommu_ops *of_iommu_configure(struct device *dev,
222
}
223
/*
224
* If we have reason to believe the IOMMU driver missed the initial
225
- * add_device callback for dev, replay it to get things in order.
+ * probe for dev, replay it to get things in order.
226
*/
227
- if (ops && ops->add_device && dev->bus && !device_iommu_mapped(dev))
228
- err = ops->add_device(dev);
+ if (dev->bus && !device_iommu_mapped(dev))
+ err = iommu_probe_device(dev);
229
230
/* Ignore all other errors apart from EPROBE_DEFER */
231
if (err == -EPROBE_DEFER) {
0 commit comments