aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJyri Sarha <[email protected]>2025-06-19 12:11:21 +0000
committerMark Brown <[email protected]>2025-06-19 12:19:55 +0000
commit2756b7f08ff6ca7c68c8c7dd61c8dc6895c9de34 (patch)
treec36567e8ca3fa2ec1dd8ada1ec818bc0a0b31fef
parentASoC: SOF: ipc4-pcm: Pipe instances to dev_dbg in multi_pipeline_state() (diff)
downloadkernel-2756b7f08ff6ca7c68c8c7dd61c8dc6895c9de34.tar.gz
kernel-2756b7f08ff6ca7c68c8c7dd61c8dc6895c9de34.zip
ASoC: SOF: ipc4-pcm: Harmonize sof_ipc4_set_pipeline_state() dbg print
Harmonize sof_ipc4_set_pipeline_state() dbg print with the new print in sof_ipc4_set_multi_pipeline_state(). Signed-off-by: Jyri Sarha <[email protected]> Reviewed-by: Péter Ujfalusi <[email protected]> Reviewed-by: Guennadi Liakhovetski <[email protected]> Reviewed-by: Liam Girdwood <[email protected]> Reviewed-by: Ranjani Sridharan <[email protected]> Signed-off-by: Peter Ujfalusi <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
-rw-r--r--sound/soc/sof/ipc4-pcm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/sof/ipc4-pcm.c b/sound/soc/sof/ipc4-pcm.c
index be4518d8970b..cf809959eaea 100644
--- a/sound/soc/sof/ipc4-pcm.c
+++ b/sound/soc/sof/ipc4-pcm.c
@@ -113,7 +113,8 @@ int sof_ipc4_set_pipeline_state(struct snd_sof_dev *sdev, u32 instance_id, u32 s
struct sof_ipc4_msg msg = {{ 0 }};
u32 primary;
- dev_dbg(sdev->dev, "ipc4 set pipeline instance %d state %d", instance_id, state);
+ dev_dbg(sdev->dev, "Set pipeline %d to state %d%s", instance_id, state,
+ sof_ipc4_pipeline_state_str(state));
primary = state;
primary |= SOF_IPC4_GLB_PIPE_STATE_ID(instance_id);