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

Commit ceb1d5cd authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "iommu: dma-mapping-fast: Use proper function to get private data"

parents 45733508 3af16633
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -398,7 +398,7 @@ static void fast_smmu_sync_sg_for_cpu(struct device *dev,
{
	struct scatterlist *sg;
	dma_addr_t iova = sg_dma_address(sgl);
	struct dma_fast_smmu_mapping *mapping = dev->archdata.mapping->fast;
	struct dma_fast_smmu_mapping *mapping = dev_get_mapping(dev);
	int i;

	if (av8l_fast_iova_coherent_public(mapping->pgtbl_ops, iova))
@@ -414,7 +414,7 @@ static void fast_smmu_sync_sg_for_device(struct device *dev,
{
	struct scatterlist *sg;
	dma_addr_t iova = sg_dma_address(sgl);
	struct dma_fast_smmu_mapping *mapping = dev->archdata.mapping->fast;
	struct dma_fast_smmu_mapping *mapping = dev_get_mapping(dev);
	int i;

	if (av8l_fast_iova_coherent_public(mapping->pgtbl_ops, iova))