[PATCH 13/18] DSPBRIDGE: change init statements to pr_info in rmgr

Omar Ramirez Luna
2010-02-16T08:30:10Z

Print to console if:
- Driver is succesfully installed.
- Baseimage is correctly loaded.
- Processor is started.

Signed-off-by: Omar Ramirez Luna <omar.ramirez@ti.com>
---
drivers/dsp/bridge/rmgr/drv_interface.c | 3 +--
drivers/dsp/bridge/rmgr/proc.c | 6 ++----
2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/drivers/dsp/bridge/rmgr/drv_interface.c b/drivers/dsp/bridge/rmgr/drv_interface.c
index 8f9e626..a002e01 100644
--- a/drivers/dsp/bridge/rmgr/drv_interface.c
+++ b/drivers/dsp/bridge/rmgr/drv_interface.c
@@ -346,8 +346,7 @@ static int __devinit omap34xx_bridge_probe(struct platform_device *pdev)
GT_0trace(driverTrace, GT_7CLASS,
"DSP/BIOS Bridge initialization Failed\n");
} else {
- GT_0trace(driverTrace, GT_5CLASS,
- "DSP/BIOS Bridge driver loaded\n");
+ pr_info("DSP Bridge driver loaded\n");
}
}

diff --git a/drivers/dsp/bridge/rmgr/proc.c b/drivers/dsp/bridge/rmgr/proc.c
index ed42a47..b6ed886 100644
--- a/drivers/dsp/bridge/rmgr/proc.c
+++ b/drivers/dsp/bridge/rmgr/proc.c
@@ -1030,8 +1030,7 @@ DSP_STATUS PROC_Load(DSP_HPROCESSOR hProcessor, IN CONST s32 iArgc,
if (DSP_SUCCEEDED(status)) {
if (DSP_SUCCEEDED((*pProcObject->pIntfFxns->pfnBrdStatus)
(pProcObject->hWmdContext, &uBrdState))) {
- GT_0trace(PROC_DebugMask, GT_1CLASS,
- "PROC_Load: Processor Loaded\n");
+ pr_info("%s: Processor Loaded %s\n", __func__, pargv0);
DBC_Assert(uBrdState == BRD_LOADED);
}
}
@@ -1289,8 +1288,7 @@ func_cont:
if (DSP_SUCCEEDED(status)) {
if (DSP_SUCCEEDED((*pProcObject->pIntfFxns->pfnBrdStatus)
(pProcObject->hWmdContext, &uBrdState))) {
- GT_0trace(PROC_DebugMask, GT_1CLASS,
- "PROC_Start: Processor State is RUNNING \n");
+ pr_info("%s: dsp in running state\n", __func__);
DBC_Assert(uBrdState != BRD_HIBERNATION);
}
}
--
1.6.2.4