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(-)
diff --git a/drivers/dsp/bridge/rmgr/proc.c b/drivers/dsp/bridge/rmgr/proc.c
index d4d20ae..43f2d29 100644
--- a/drivers/dsp/bridge/rmgr/proc.c
+++ b/drivers/dsp/bridge/rmgr/proc.c
@@ -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;
}
}
--
1.6.2.4
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html