Skip to content

Commit ee77ca3

Browse files
lyakhkv2019i
authored andcommitted
schedule: userspace: DP also runs in userspace when possible
scheduler_is_user() should return true for DP as well. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
1 parent 4c6dd3b commit ee77ca3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/schedule/schedule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ static inline bool scheduler_is_user(int type)
3030
* to user-space and only keep Zephyr scheduler logic in
3131
* kernel
3232
*/
33-
return type == SOF_SCHEDULE_LL_TIMER;
33+
return type == SOF_SCHEDULE_LL_TIMER || type == SOF_SCHEDULE_DP;
3434
}
3535

3636
int schedule_task_init(struct task *task,

0 commit comments

Comments
 (0)