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

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

Merge "ion: Always flush using kernel virtual address"

parents 6d017a58 76bd14ed
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -228,11 +228,8 @@ static int ion_pages_cache_ops(struct ion_client *client,
			dmac_clean_range(vaddr, vaddr + length);
		break;
	case ION_IOC_INV_CACHES:
		if (!vaddr)
		dma_sync_sg_for_cpu(NULL, table->sgl,
			table->nents, DMA_FROM_DEVICE);
		else
			dmac_inv_range(vaddr, vaddr + length);
		break;
	case ION_IOC_CLEAN_INV_CACHES:
		if (!vaddr) {