aboutsummaryrefslogtreecommitdiff
path: root/drivers/iommu
diff options
context:
space:
mode:
authorWill Deacon2024-07-12 16:54:06 +0100
committerWill Deacon2024-07-12 16:54:06 +0100
commit4295d785a7aa153942e76bdac0e24f0915e0cefb (patch)
tree6f7080ed93b177d5acc8adb2e521a541be20dfd4 /drivers/iommu
parent906fe8b8263ed5cb3902d0f2b554deafe5cae766 (diff)
parenteac93f4d4ec63423704657895ce9a4ddac7b023b (diff)
Merge branch 'iommu/nvidia/tegra' into iommu/next
* iommu/nvidia/tegra: iommu/tegra-smmu: Pass correct fwnode to iommu_fwspec_init()
Diffstat (limited to 'drivers/iommu')
-rw-r--r--drivers/iommu/tegra-smmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/tegra-smmu.c b/drivers/iommu/tegra-smmu.c
index f86c7ae91814..c0c6dbd87fca 100644
--- a/drivers/iommu/tegra-smmu.c
+++ b/drivers/iommu/tegra-smmu.c
@@ -837,7 +837,7 @@ static int tegra_smmu_configure(struct tegra_smmu *smmu, struct device *dev,
const struct iommu_ops *ops = smmu->iommu.ops;
int err;
- err = iommu_fwspec_init(dev, &dev->of_node->fwnode, ops);
+ err = iommu_fwspec_init(dev, &smmu->dev->of_node->fwnode, ops);
if (err < 0) {
dev_err(dev, "failed to initialize fwspec: %d\n", err);
return err;