Skip to content

Commit 4295d78

Browse files
committed
Merge branch 'iommu/nvidia/tegra' into iommu/next
* iommu/nvidia/tegra: iommu/tegra-smmu: Pass correct fwnode to iommu_fwspec_init()
2 parents 906fe8b + eac93f4 commit 4295d78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/iommu/tegra-smmu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,7 @@ static int tegra_smmu_configure(struct tegra_smmu *smmu, struct device *dev,
837837
const struct iommu_ops *ops = smmu->iommu.ops;
838838
int err;
839839

840-
err = iommu_fwspec_init(dev, &dev->of_node->fwnode, ops);
840+
err = iommu_fwspec_init(dev, &smmu->dev->of_node->fwnode, ops);
841841
if (err < 0) {
842842
dev_err(dev, "failed to initialize fwspec: %d\n", err);
843843
return err;

0 commit comments

Comments
 (0)