From: Fernando Guzman Lugo <x0095840@xxxxxx> This patches prints DSP traces always removing the need to compile debug version and enable DSP traces. Signed-off-by: Fernando Guzman Lugo <x0095840@xxxxxx> --- drivers/dsp/bridge/wmd/io_sm.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/dsp/bridge/wmd/io_sm.c b/drivers/dsp/bridge/wmd/io_sm.c index d267cab..e35ce57 100644 --- a/drivers/dsp/bridge/wmd/io_sm.c +++ b/drivers/dsp/bridge/wmd/io_sm.c @@ -1905,7 +1905,7 @@ void PrintDSPDebugTrace(struct IO_MGR *hIOMgr) */ hIOMgr->ulGPPReadPointer += ulNewMessageLength; /* Print the trace messages */ - GT_0trace(dsp_trace_mask, GT_1CLASS, hIOMgr->pMsg); + pr_info("DSPTrace: %s\n", hIOMgr->pMsg); } else if (ulGPPCurPointer < hIOMgr->ulGPPReadPointer) { /* Handle trace buffer wraparound */ memcpy(hIOMgr->pMsg, (char *)hIOMgr->ulGPPReadPointer, @@ -1927,7 +1927,7 @@ void PrintDSPDebugTrace(struct IO_MGR *hIOMgr) hIOMgr->ulGPPReadPointer = hIOMgr->ulTraceBufferBegin + ulNewMessageLength; /* Print the trace messages */ - GT_0trace(dsp_trace_mask, GT_1CLASS, hIOMgr->pMsg); + pr_info("DSPTrace: %s\n", hIOMgr->pMsg); } } } -- 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