[PATCH 16/18] DSPBRIDGE: print dsp trace buffer by default

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

Print to console if the contents of the dsp trace buffer.

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

diff --git a/drivers/dsp/bridge/wmd/io_sm.c b/drivers/dsp/bridge/wmd/io_sm.c
index 3471ed5..e9de3fc 100644
--- a/drivers/dsp/bridge/wmd/io_sm.c
+++ b/drivers/dsp/bridge/wmd/io_sm.c
@@ -2010,8 +2010,7 @@ DSP_STATUS PrintDspTraceBuffer(struct WMD_DEV_CONTEXT *hWmdContext)
if (DSP_SUCCEEDED(status)) {
/* Pack and do newline conversion */
PackTraceBuffer(pszBuf, ulNumBytes, ulNumWords);
- GT_1trace(dsp_trace_mask, GT_1CLASS,
- "DSP Trace Buffer:\n%s\n", pszBuf);
+ pr_info("%s:\n%s\n", __func__, pszBuf);
}
kfree(pszBuf);
kfree(lpszBuf);
--
1.6.2.4