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

Commit 8cec9b83 authored by Vinay Kalia's avatar Vinay Kalia
Browse files

msm: vidc: Do not call cache operations during map



There is no need to call cache operations while mapping a
buffer. Cache operations are already being called for QBUF
and DQBUF which should suffice.

Change-Id: I32f95d59bffe7bf36254ebe008ccd167729cbac4
Signed-off-by: default avatarVinay Kalia <vkalia@codeaurora.org>
parent ec7db6c5
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -362,13 +362,6 @@ static struct msm_smem *map_buffer(struct msm_vidc_inst *inst,
			"%s: Failed to get device buffer address\n", __func__);
		return NULL;
	}
	if (msm_comm_smem_cache_operations(inst, handle,
			SMEM_CACHE_CLEAN))
		dprintk(VIDC_WARN,
			"CACHE Clean failed: %d, %d, %d\n",
				p->reserved[0],
				p->reserved[1],
				p->length);
	return handle;
}