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

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

Merge "arm64: Use arm64 coherent APIs for non-coherent freeing"

parents 170fa987 79af4ce2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -136,7 +136,7 @@ static void arm64_swiotlb_free_noncoherent(struct device *dev, size_t size,
	void *swiotlb_addr = phys_to_virt(dma_to_phys(dev, dma_handle));

	vunmap(vaddr);
	swiotlb_free_coherent(dev, size, swiotlb_addr, dma_handle);
	arm64_swiotlb_free_coherent(dev, size, swiotlb_addr, dma_handle, attrs);
}

static dma_addr_t arm64_swiotlb_map_page(struct device *dev,