Skip to content

Commit c45746e

Browse files
author
Bard liao
committed
ipc: add missing schedule_task_init/config
schedule_task_init and schedule_task_config was removed on the "Merge remote-tracking branch 'gh/next' into next-master2" commit. Which is necessary for scheduler task. Signed-off-by: Bard liao <yung-chuan.liao@intel.com>
1 parent 7abb55f commit c45746e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/ipc/byt-ipc.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,10 @@ int platform_ipc_init(struct ipc *ipc)
215215
sizeof(struct intel_ipc_data));
216216
ipc_set_drvdata(_ipc, iipc);
217217

218+
/* schedule */
219+
schedule_task_init(&_ipc->ipc_task, ipc_process_task, _ipc);
220+
schedule_task_config(&_ipc->ipc_task, 0, 0);
221+
218222
#ifdef CONFIG_HOST_PTABLE
219223
/* allocate page table buffer */
220224
iipc->page_table = rzalloc(RZONE_SYS, SOF_MEM_CAPS_RAM,

0 commit comments

Comments
 (0)