From 70a088079803e26f4553b50a938cfc2a1398fbc6 Mon Sep 17 00:00:00 2001 From: Peter Ujfalusi Date: Wed, 6 May 2026 10:51:43 +0300 Subject: [PATCH] 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 --- sound/soc/sof/ipc4-topology.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sound/soc/sof/ipc4-topology.c b/sound/soc/sof/ipc4-topology.c index 09246e4c378097..0878617d2be556 100644 --- a/sound/soc/sof/ipc4-topology.c +++ b/sound/soc/sof/ipc4-topology.c @@ -2131,6 +2131,10 @@ static void sof_ipc4_host_config(struct snd_sof_dev *sdev, struct snd_sof_widget struct sof_ipc4_pipeline *pipeline = pipe_widget->private; u32 host_dma_id = platform_params->stream_tag - 1; + dev_dbg(sdev->dev, "Host copier %s, type %d, ChainDMA: %s, stream_tag: %d\n", + swidget->widget->name, swidget->id, str_yes_no(pipeline->use_chain_dma), + platform_params->stream_tag); + if (pipeline->use_chain_dma) { pipeline->msg.primary &= ~SOF_IPC4_GLB_CHAIN_DMA_HOST_ID_MASK; pipeline->msg.primary |= SOF_IPC4_GLB_CHAIN_DMA_HOST_ID(host_dma_id);