Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 05a0fa2b authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "dma-mapping: use iommu_unmap for unmapping address"

parents d9a9a205 fdce8864
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1818,7 +1818,7 @@ void arm_iommu_unmap_sg(struct device *dev, struct scatterlist *sg, int nents,
	total_length = PAGE_ALIGN((iova & ~PAGE_MASK) + total_length);
	iova &= PAGE_MASK;

	iommu_unmap_range(mapping->domain, iova, total_length);
	iommu_unmap(mapping->domain, iova, total_length);
	__free_iova(mapping, iova, total_length);
}