disp: msm: update iommu parameter to orig_nents

iommu_map_sg has been updated and is expecting argument
orig_nents instead of nents. This change updates the parameter
in places where that function is being used.

Change-Id: I3b15485e3f0186f1d2f1c81a8205c46b521893f3
Signed-off-by: Samantha Tran <samtran@codeaurora.org>
This commit is contained in:
Samantha Tran
2021-01-13 16:09:38 -08:00
parent 8bb1e0a34d
commit 0bae60fcc6
2 changed files with 3 additions and 3 deletions

View File

@@ -64,7 +64,7 @@ static int msm_iommu_map(struct msm_mmu *mmu, uint64_t iova,
size_t ret;
// pm_runtime_get_sync(mmu->dev);
ret = iommu_map_sg(iommu->domain, iova, sgt->sgl, sgt->nents, prot);
ret = iommu_map_sg(iommu->domain, iova, sgt->sgl, sgt->orig_nents, prot);
// pm_runtime_put_sync(mmu->dev);
WARN_ON(!ret);