Loading drivers/char/adsprpc.c +7 −7 Original line number Diff line number Diff line Loading @@ -2569,13 +2569,6 @@ static int fastrpc_mmap_remove_pdr(struct fastrpc_file *fl) AUDIO_PDR_SERVICE_LOCATION_CLIENT_NAME, &session)); if (err) goto bail; if (me->channel[fl->cid].spd[session].pdrcount != me->channel[fl->cid].spd[session].prevpdrcount) { if (fastrpc_mmap_remove_ssr(fl)) pr_err("ADSPRPC: SSR: Failed to unmap remote heap\n"); me->channel[fl->cid].spd[session].prevpdrcount = me->channel[fl->cid].spd[session].pdrcount; } if (!me->channel[fl->cid].spd[session].ispdup) { VERIFY(err, 0); if (err) { Loading @@ -2583,6 +2576,13 @@ static int fastrpc_mmap_remove_pdr(struct fastrpc_file *fl) goto bail; } } if (me->channel[fl->cid].spd[session].pdrcount != me->channel[fl->cid].spd[session].prevpdrcount) { if (fastrpc_mmap_remove_ssr(fl)) pr_err("ADSPRPC: SSR: Failed to unmap remote heap\n"); me->channel[fl->cid].spd[session].prevpdrcount = me->channel[fl->cid].spd[session].pdrcount; } bail: return err; } Loading Loading
drivers/char/adsprpc.c +7 −7 Original line number Diff line number Diff line Loading @@ -2569,13 +2569,6 @@ static int fastrpc_mmap_remove_pdr(struct fastrpc_file *fl) AUDIO_PDR_SERVICE_LOCATION_CLIENT_NAME, &session)); if (err) goto bail; if (me->channel[fl->cid].spd[session].pdrcount != me->channel[fl->cid].spd[session].prevpdrcount) { if (fastrpc_mmap_remove_ssr(fl)) pr_err("ADSPRPC: SSR: Failed to unmap remote heap\n"); me->channel[fl->cid].spd[session].prevpdrcount = me->channel[fl->cid].spd[session].pdrcount; } if (!me->channel[fl->cid].spd[session].ispdup) { VERIFY(err, 0); if (err) { Loading @@ -2583,6 +2576,13 @@ static int fastrpc_mmap_remove_pdr(struct fastrpc_file *fl) goto bail; } } if (me->channel[fl->cid].spd[session].pdrcount != me->channel[fl->cid].spd[session].prevpdrcount) { if (fastrpc_mmap_remove_ssr(fl)) pr_err("ADSPRPC: SSR: Failed to unmap remote heap\n"); me->channel[fl->cid].spd[session].prevpdrcount = me->channel[fl->cid].spd[session].pdrcount; } bail: return err; } Loading