Skip to content

Commit bf539f0

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 4d20b4e commit bf539f0

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
@@ -369,6 +369,7 @@ __cold int scheduler_dp_init(void)
369369
if (!dp_sch)
370370
return -ENOMEM;
371371

372+
dp_sch->ll_tick_src.priv_data = NULL;
372373
list_init(&dp_sch->tasks);
373374

374375
scheduler_init(SOF_SCHEDULE_DP, &schedule_dp_ops, dp_sch);

0 commit comments

Comments
 (0)