REG module should be only initialized by services layer. Signed-off-by: Omar Ramirez Luna <omar.ramirez@xxxxxx> --- drivers/dsp/bridge/rmgr/dbdcd.c | 8 +------- 1 files changed, 1 insertions(+), 7 deletions(-) diff --git a/drivers/dsp/bridge/rmgr/dbdcd.c b/drivers/dsp/bridge/rmgr/dbdcd.c index cb244f4..d90aa83 100644 --- a/drivers/dsp/bridge/rmgr/dbdcd.c +++ b/drivers/dsp/bridge/rmgr/dbdcd.c @@ -350,7 +350,6 @@ void DCD_Exit(void) cRefs--; if (cRefs == 0) { - REG_Exit(); COD_Exit(); } @@ -833,18 +832,13 @@ bool DCD_Init(void) if (cRefs == 0) { /* Initialize required modules. */ fInitCOD = COD_Init(); - fInitREG = REG_Init(); - if (!fInitCOD || !fInitREG) { + if (!fInitCOD) { fInit = false; GT_0trace(curTrace, GT_6CLASS, "DCD_Init failed\n"); /* Exit initialized modules. */ if (fInitCOD) COD_Exit(); - - if (fInitREG) - REG_Exit(); - } } -- 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