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

This commit is contained in:
qctecmdr 2020-02-14 08:25:41 -08:00 • committed by Gerrit - the friendly Code Review server
commit b59b6f92d1

View file

@ -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 &&