mirror of https://github.com/thesofproject/sof.git
trace: Trace initial message as error logs
Use tr_err to have this initial message also in error logs and assert traces works well. Signed-off-by: Karol Trzcinski <karolx.trzcinski@linux.intel.com>
This commit is contained in:
parent
837ad4b9e0
commit
67a0a6937c
|
@ -318,9 +318,13 @@ int dma_trace_enable(struct dma_trace_data *d)
|
||||||
if (err < 0)
|
if (err < 0)
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
/* it should be the very first sent log for easily identification */
|
/*
|
||||||
tr_info(&dt_tr, "FW ABI 0x%x DBG ABI 0x%x tag " SOF_GIT_TAG " src hash 0x%08x (ldc hash " META_QUOTE(SOF_SRC_HASH) ")",
|
* It should be the very first sent log for easily identification.
|
||||||
SOF_ABI_VERSION, SOF_ABI_DBG_VERSION, SOF_SRC_HASH);
|
* Use tr_err to have this initial message also in error logs and assert
|
||||||
|
* traces works well.
|
||||||
|
*/
|
||||||
|
tr_err(&dt_tr, "FW ABI 0x%x DBG ABI 0x%x tag " SOF_GIT_TAG " src hash 0x%08x (ldc hash " META_QUOTE(SOF_SRC_HASH) ")",
|
||||||
|
SOF_ABI_VERSION, SOF_ABI_DBG_VERSION, SOF_SRC_HASH);
|
||||||
|
|
||||||
#if CONFIG_DMA_GW
|
#if CONFIG_DMA_GW
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue