if (dev->power.syscore || dev->power.direct_complete)
goto Complete;
- - - dpm_wait_for_children(dev, async);
++++++ dpm_wait_for_subordinate(dev, async);
+ + +
if (dev->pm_domain) {
info = "noirq power domain ";
callback = pm_noirq_op(&dev->pm_domain->ops, state);
if (dev->power.syscore || dev->power.direct_complete)
goto Complete;
- - - dpm_wait_for_children(dev, async);
++++++ dpm_wait_for_subordinate(dev, async);
+ + +
if (dev->pm_domain) {
info = "late power domain ";
callback = pm_late_early_op(&dev->pm_domain->ops, state);
fwspec = dev->iommu_fwspec;
if (ret)
goto out_free;
- - -- } else if (fwspec) {
- - -- smmu = arm_smmu_get_by_node(to_of_node(fwspec->iommu_fwnode));
+ + ++ } else if (fwspec && fwspec->ops == &arm_smmu_ops) {
- - smmu = arm_smmu_get_by_node(to_of_node(fwspec->iommu_fwnode));
++ ++++ smmu = arm_smmu_get_by_fwnode(fwspec->iommu_fwnode);
} else {
return -ENODEV;
}