ASoC: SOF: IPC: update ipc_log_header()
Parse all the trace DMA IPC commands in ipc_log_header(). Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com> Link: https://lore.kernel.org/r/20211102101019.14037-3-peter.ujfalusi@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
168eed4471
commit
b4e2d7ce13
@ -173,7 +173,22 @@ static void ipc_log_header(struct device *dev, u8 *text, u32 cmd)
|
||||
}
|
||||
break;
|
||||
case SOF_IPC_GLB_TRACE_MSG:
|
||||
str = "GLB_TRACE_MSG"; break;
|
||||
str = "GLB_TRACE_MSG";
|
||||
switch (type) {
|
||||
case SOF_IPC_TRACE_DMA_PARAMS:
|
||||
str2 = "DMA_PARAMS"; break;
|
||||
case SOF_IPC_TRACE_DMA_POSITION:
|
||||
str2 = "DMA_POSITION"; break;
|
||||
case SOF_IPC_TRACE_DMA_PARAMS_EXT:
|
||||
str2 = "DMA_PARAMS_EXT"; break;
|
||||
case SOF_IPC_TRACE_FILTER_UPDATE:
|
||||
str2 = "FILTER_UPDATE"; break;
|
||||
case SOF_IPC_TRACE_DMA_FREE:
|
||||
str2 = "DMA_FREE"; break;
|
||||
default:
|
||||
str2 = "unknown type"; break;
|
||||
}
|
||||
break;
|
||||
case SOF_IPC_GLB_TEST_MSG:
|
||||
str = "GLB_TEST_MSG";
|
||||
switch (type) {
|
||||
|
Loading…
Reference in New Issue
Block a user