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

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

Merge "msm: adsprpc: Remove output buffers from cache flush logic"

parents 4883cd21 2296a3a9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1865,6 +1865,8 @@ static int get_args(uint32_t kernel, struct smq_invoke_ctx *ctx)
		int i = ctx->overps[oix]->raix;
		struct fastrpc_mmap *map = ctx->maps[i];

		if (i+1 > inbufs)	// Avoiding flush for outbufs
			continue;
		if (map && map->uncached)
			continue;
		if (ctx->fl->sctx->smmu.coherent &&