Merge "msm: adsprpc: Create DSP mapping on basis of size for static flags"

This commit is contained in:
qctecmdr 2021-04-20 21:02:42 -07:00 • committed by Gerrit - the friendly Code Review server
commit bc78ccd74c

View file

@ -4739,7 +4739,7 @@ static int fastrpc_internal_mem_map(struct fastrpc_file *fl,
/* create DSP mapping */
VERIFY(err, !(err = fastrpc_mem_map_to_dsp(fl, ud->m.fd, ud->m.offset,
ud->m.flags, map->va, map->phys, ud->m.length, &map->raddr)));
ud->m.flags, map->va, map->phys, map->size, &map->raddr)));
if (err)
goto bail;
ud->m.vaddrout = map->raddr;