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

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

Merge "qseecom: Update cache operations around scm_call()"

parents 5c9cd3d5 921d4989
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1125,9 +1125,9 @@ static int qseecom_dmabuf_cache_operations(struct dma_buf *dmabuf,
		goto exit;

	switch (cache_op) {
	case QSEECOM_CACHE_CLEAN:
		dma_buf_begin_cpu_access(dmabuf, DMA_TO_DEVICE);
		dma_buf_end_cpu_access(dmabuf, DMA_TO_DEVICE);
	case QSEECOM_CACHE_CLEAN: /* Doing CLEAN and INVALIDATE */
		dma_buf_begin_cpu_access(dmabuf, DMA_BIDIRECTIONAL);
		dma_buf_end_cpu_access(dmabuf, DMA_BIDIRECTIONAL);
		break;
	case QSEECOM_CACHE_INVALIDATE:
		dma_buf_begin_cpu_access(dmabuf, DMA_TO_DEVICE);