Skip to content

Commit 63231d5

Browse files
committed
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 bbbde78 commit 63231d5

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
@@ -2944,6 +2944,7 @@ static int sof_ipc4_control_load_bytes(struct snd_sof_dev *sdev, struct snd_sof_
29442944
msg->primary = SOF_IPC4_MSG_TYPE_SET(SOF_IPC4_MOD_LARGE_CONFIG_SET);
29452945
msg->primary |= SOF_IPC4_MSG_DIR(SOF_IPC4_MSG_REQUEST);
29462946
msg->primary |= SOF_IPC4_MSG_TARGET(SOF_IPC4_MODULE_MSG);
2947+
msg->extension = SOF_IPC4_MOD_EXT_MSG_PARAM_ID(control_data->data->type);
29472948

29482949
return 0;
29492950

0 commit comments

Comments
 (0)