Skip to content

Commit 70a0880

Browse files
committed
ASoC: SOF: ipc4-topology: Add debug print to sof_ipc4_host_config
Print the same information as we print in _sof_ipc4_prepare_copier_module() since the prepare will be not called on system resume, only the host_config will be executed and tracking the stream tag for the host is valuable information. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
1 parent 2240389 commit 70a0880

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

sound/soc/sof/ipc4-topology.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2131,6 +2131,10 @@ static void sof_ipc4_host_config(struct snd_sof_dev *sdev, struct snd_sof_widget
21312131
struct sof_ipc4_pipeline *pipeline = pipe_widget->private;
21322132
u32 host_dma_id = platform_params->stream_tag - 1;
21332133

2134+
dev_dbg(sdev->dev, "Host copier %s, type %d, ChainDMA: %s, stream_tag: %d\n",
2135+
swidget->widget->name, swidget->id, str_yes_no(pipeline->use_chain_dma),
2136+
platform_params->stream_tag);
2137+
21342138
if (pipeline->use_chain_dma) {
21352139
pipeline->msg.primary &= ~SOF_IPC4_GLB_CHAIN_DMA_HOST_ID_MASK;
21362140
pipeline->msg.primary |= SOF_IPC4_GLB_CHAIN_DMA_HOST_ID(host_dma_id);

0 commit comments

Comments
 (0)