Skip to content

Commit 5d0af43

Browse files
ujfalusiplbossart
authored andcommitted
ASoC: SOF: ipc4: Dump the notification payload
Now that we have notifications with payload (kcontrol change notifications), it is time to add the payload dump on the rx path as well. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
1 parent ffff3fe commit 5d0af43

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

sound/soc/sof/ipc4.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -666,6 +666,10 @@ static void sof_ipc4_rx_msg(struct snd_sof_dev *sdev)
666666
sof_ipc4_log_header(sdev->dev, "ipc rx done ", ipc4_msg, true);
667667

668668
if (data_size) {
669+
if (sof_debug_check_flag(SOF_DBG_DUMP_IPC_MESSAGE_PAYLOAD))
670+
sof_ipc4_dump_payload(sdev, ipc4_msg->data_ptr,
671+
ipc4_msg->data_size);
672+
669673
kfree(ipc4_msg->data_ptr);
670674
ipc4_msg->data_ptr = NULL;
671675
ipc4_msg->data_size = 0;

0 commit comments

Comments
 (0)