Skip to content

Commit 3dcf46e

Browse files
committed
debug
1 parent 29d5026 commit 3dcf46e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/audio/module_adapter/library/userspace_proxy.c

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

0 commit comments

Comments
 (0)