Skip to content

Commit a39901d

Browse files
author
Jyri Sarha
committed
audio: cadence: Revert earlier incomplete mod_ipc_msg_w_ext_init() change
The earlier version of taking mod_ipc_msg_w_ext_init() into use in cadence module was incomplete. Revert the incomplete change. The change was part of: Fixes: 57d78f6 ("ipc: make IPC message allocation userspace-safe") Signed-off-by: Jyri Sarha <jyri.sarha@linux.intel.com>
1 parent 24e86b2 commit a39901d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/audio/module_adapter/module/cadence_ipc4.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -484,8 +484,8 @@ static int cadence_codec_process(struct processing_module *mod, struct sof_sourc
484484
primary->r.type = SOF_IPC4_GLB_NOTIFICATION;
485485
primary->r.rsp = SOF_IPC4_MESSAGE_DIR_MSG_REQUEST;
486486
primary->r.msg_tgt = SOF_IPC4_MESSAGE_TARGET_FW_GEN_MSG;
487-
msg = mod_ipc_msg_w_ext_init(mod, msg_proto.header, msg_proto.extension,
488-
sizeof(*msg_module_data));
487+
msg = ipc_msg_w_ext_init(msg_proto.header, msg_proto.extension,
488+
sizeof(*msg_module_data));
489489
if (msg) {
490490
msg_module_data = (struct sof_ipc4_notify_module_data *)msg->tx_data;
491491
msg_module_data->instance_id = IPC4_INST_ID(ipc_config->id);

0 commit comments

Comments
 (0)