Skip to content

Commit 358978c

Browse files
committed
ipc user fix
1 parent 7deecd6 commit 358978c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/audio/module_adapter/library/userspace_proxy.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ struct k_work_user *userspace_proxy_register_ipc_handler(struct processing_modul
6767
tr_dbg(&userspace_proxy_tr, "Set DP event %p for module %p",
6868
(void *)event, (void *)mod);
6969
user_ctx->dp_event = event;
70+
user_ctx->work_item->event = event;
71+
7072
assert(user_ctx->work_item);
7173
return &user_ctx->work_item->work_item;
7274
}
@@ -195,7 +197,7 @@ static int userspace_proxy_invoke(struct userspace_context *user_ctx, uint32_t c
195197
.size = MAILBOX_HOSTBOX_SIZE,
196198
.attr = user_get_partition_attr(ipc_req_buf) | K_MEM_PARTITION_P_RO_U_RO,
197199
};
198-
int ret, ret2;
200+
int ret = 0, ret2;
199201

200202
params->cmd = cmd;
201203

0 commit comments

Comments
 (0)