1
0
Fork 0

iommu: Stop deferring probe at end of initcalls

The IOMMU subsystem has its own mechanism to not defer probe if driver
support is missing. Now that the driver core supports stopping deferring
probe if drivers aren't built-in (and probed), use the driver core
support so the IOMMU specific support can be removed.

Acked-by: Joerg Roedel <jroedel@suse.de>
Cc: iommu@lists.linux-foundation.org
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
hifive-unleashed-5.1
Rob Herring 2018-07-09 09:41:51 -06:00 committed by Greg Kroah-Hartman
parent d19c5e79d4
commit 78f307be3e
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ static int of_iommu_xlate(struct device *dev,
* a proper probe-ordering dependency mechanism in future.
*/
if (!ops)
return -EPROBE_DEFER;
return driver_deferred_probe_check_state(dev);
return ops->of_xlate(dev, iommu_spec);
}