From: Hari Kanigeri <h-kanigeri2@xxxxxx> Removed resource cleanup for DMM on PROC_Detach due to LCML detaching the processor when it deletes each node, therefore resource cleanup was freeing DMM resources of other nodes that might be still in use, this would cause unexpected behavior, possibly MMU fault. Signed-of-by: Hari Kanigeri <h-kanigeri2@xxxxxx> --- drivers/dsp/bridge/rmgr/proc.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers/dsp/bridge/rmgr/proc.c b/drivers/dsp/bridge/rmgr/proc.c index 43f2d29..f6045bb 100644 --- a/drivers/dsp/bridge/rmgr/proc.c +++ b/drivers/dsp/bridge/rmgr/proc.c @@ -658,10 +658,8 @@ DSP_STATUS PROC_Detach(DSP_HPROCESSOR hProcessor) DRV_GetProcContext(hProcess, (struct DRV_OBJECT *)hDRVObject, &pPctxt, NULL, 0); - if (pPctxt != NULL) { - DRV_ProcFreeDMMRes(pPctxt); + if (pPctxt != NULL) pPctxt->hProcessor = NULL; - } } #endif /* Notify the Client */ -- 1.6.2.4 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html