Skip to content

Commit 535be9a

Browse files
ujfalusibardliao
authored andcommitted
ASoC: SOF: ipc4-topology: Set initial param_id for bytes control type
Set the param_id in extension based on the information we got from the topology. If the payload did not present then the param_id will remain 0. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
1 parent 7424d47 commit 535be9a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

sound/soc/sof/ipc4-topology.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2943,6 +2943,7 @@ static int sof_ipc4_control_load_bytes(struct snd_sof_dev *sdev, struct snd_sof_
29432943
msg->primary = SOF_IPC4_MSG_TYPE_SET(SOF_IPC4_MOD_LARGE_CONFIG_SET);
29442944
msg->primary |= SOF_IPC4_MSG_DIR(SOF_IPC4_MSG_REQUEST);
29452945
msg->primary |= SOF_IPC4_MSG_TARGET(SOF_IPC4_MODULE_MSG);
2946+
msg->extension = SOF_IPC4_MOD_EXT_MSG_PARAM_ID(control_data->data->type);
29462947

29472948
return 0;
29482949

0 commit comments

Comments
 (0)