DSPBRIDGE: Revert removing all resources on proc detach
PATCH 1/1 DSPBRIDGE: Revert removing all resources on proc detach
This patch changes removing all resources for the process context on processor detach, it only frees the dmm resources and let resource cleanup take care of the rest.
This regression was introduced with the following patch:
DSPBRIDGE: base image reload support after DSP error
Signed-off-by Omar Ramirez Luna <[email protected]>
Acked-by Hari Kanigeri <[email protected]>
--- drivers/dsp/bridge/rmgr/proc.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/dsp/bridge/rmgr/proc.c +1 -1
@@ -659,7 +659,7 @@ DSP_STATUS PROC_Detach(DSP_HPROCESSOR hProcessor) (struct DRV_OBJECT *)hDRVObject, &pPctxt, NULL, 0);if (pPctxt !=NULL ) { -DRV_RemoveAllResources (pPctxt); +DRV_ProcFreeDMMRes (pPctxt); pPctxt->hProcessor =NULL ; } }
Signature · 1 line
1.6.2.4