Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/schedule/zephyr_ll.c
Original file line number Diff line number Diff line change
Expand Up @@ -412,10 +412,12 @@ static int zephyr_ll_task_free(void *data, struct task *task)

zephyr_ll_assert_core(sch);

#ifndef CONFIG_SOF_USERSPACE_LL
if (k_is_in_isr()) {
tr_err(&ll_tr, "cannot free tasks from interrupt context!");
return -EDEADLK;
}
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although @lyakh , I do wonder if this check makes sense for any build anymore. This has been in place since your original commit a439ea9

#endif

zephyr_ll_lock(sch, &flags);

Expand Down
4 changes: 4 additions & 0 deletions zephyr/wrapper.c
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,11 @@ void platform_dai_timestamp(struct comp_dev *dai,
/* get current wallclock for componnent */
void platform_dai_wallclock(struct comp_dev *dai, uint64_t *wallclock)
{
#ifndef CONFIG_SOF_USERSPACE_LL
*wallclock = sof_cycle_get_64();
#else
*wallclock = k_uptime_get();
#endif
Comment on lines +268 to +272
}

/*
Expand Down
Loading