summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/mtk_iommu.c
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2019-07-02 17:44:58 +0200
committerWill Deacon <will@kernel.org>2019-07-29 18:22:59 +0200
commita2d3a382d6c682e22b263c9e7f0d857c3fa6c9d6 (patch)
tree8bbc84b08b1faf47b95e595feceed1ab53f00d58 /drivers/iommu/mtk_iommu.c
parentiommu/io-pgtable: Remove unused ->tlb_sync() callback (diff)
downloadlinux-a2d3a382d6c682e22b263c9e7f0d857c3fa6c9d6.tar.xz
linux-a2d3a382d6c682e22b263c9e7f0d857c3fa6c9d6.zip
iommu/io-pgtable: Pass struct iommu_iotlb_gather to ->unmap()
Update the io-pgtable ->unmap() function to take an iommu_iotlb_gather pointer as an argument, and update the callers as appropriate. Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/iommu/mtk_iommu.c')
-rw-r--r--drivers/iommu/mtk_iommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/mtk_iommu.c b/drivers/iommu/mtk_iommu.c
index 3785750bdb44..b73cffd63262 100644
--- a/drivers/iommu/mtk_iommu.c
+++ b/drivers/iommu/mtk_iommu.c
@@ -400,7 +400,7 @@ static size_t mtk_iommu_unmap(struct iommu_domain *domain,
size_t unmapsz;
spin_lock_irqsave(&dom->pgtlock, flags);
- unmapsz = dom->iop->unmap(dom->iop, iova, size);
+ unmapsz = dom->iop->unmap(dom->iop, iova, size, gather);
spin_unlock_irqrestore(&dom->pgtlock, flags);
return unmapsz;