Skip to content

Commit 1e2cdcd

Browse files
committed
debug
1 parent f7e2532 commit 1e2cdcd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/audio/module_adapter/library/userspace_proxy.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,11 @@ static int userspace_proxy_invoke(struct userspace_context *user_ctx, uint32_t c
230230
goto done;
231231
}
232232
#else
233+
if (!event) {
234+
tr_err(&userspace_proxy_tr, "Event null! ctx %p", user_ctx);
235+
ret = -ENOTCONN;
236+
goto done;
237+
}
233238
assert(event);
234239
k_event_post(event, DP_TASK_EVENT_IPC);
235240
#endif

0 commit comments

Comments
 (0)