Skip to content

Commit 549769c

Browse files
committed
schedule: dp: zero-initialize 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 281b648 commit 549769c

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
@@ -367,6 +367,7 @@ int scheduler_dp_init(void)
367367
if (!dp_sch)
368368
return -ENOMEM;
369369

370+
dp_sch->ll_tick_src.priv_data = NULL;
370371
list_init(&dp_sch->tasks);
371372

372373
scheduler_init(SOF_SCHEDULE_DP, &schedule_dp_ops, dp_sch);

0 commit comments

Comments
 (0)