Skip to content

Commit 13dc8d0

Browse files
committed
schedule: dp: zero-initialise private data pointer
The LL tick task's .priv_data pointer has to be NULL for the check in zephyr_ll_task_init() to pass. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
1 parent 4f8d93a commit 13dc8d0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/schedule/zephyr_dp_schedule.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,7 @@ __cold int scheduler_dp_init(void)
358358
if (!dp_sch)
359359
return -ENOMEM;
360360

361+
dp_sch->ll_tick_src.priv_data = NULL;
361362
list_init(&dp_sch->tasks);
362363

363364
scheduler_init(SOF_SCHEDULE_DP, &schedule_dp_ops, dp_sch);

0 commit comments

Comments
 (0)