Skip to content

Commit a4f1249

Browse files
Saravana Kannangregkh
authored andcommitted
Revert "iommu/of: Delete usage of driver_deferred_probe_check_state()"
This reverts commit b09796d. An issue was reported[1] on the original commit. I'll need to address that before I can delete the use of driver_deferred_probe_check_state(). So, bring it back for now. [1] - https://lore.kernel.org/lkml/4799738.LvFx2qVVIh@steina-w/ Fixes: b09796d ("iommu/of: Delete usage of driver_deferred_probe_check_state()") Reported-by: Jean-Philippe Brucker <[email protected]> Tested-by: Jean-Philippe Brucker <[email protected]> Tested-by: Alexander Stein <[email protected]> Signed-off-by: Saravana Kannan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent e20813d commit a4f1249

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/iommu/of_iommu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ static int of_iommu_xlate(struct device *dev,
4040
* a proper probe-ordering dependency mechanism in future.
4141
*/
4242
if (!ops)
43-
return -ENODEV;
43+
return driver_deferred_probe_check_state(dev);
4444

4545
if (!try_module_get(ops->owner))
4646
return -ENODEV;

0 commit comments

Comments
 (0)