Merge pull request #332 from bardliao/bard/master

ipc: add missing schedule_task_init/config
This commit is contained in:
Liam Girdwood 2018-09-10 13:44:06 +01:00 committed by GitHub
commit 5a4ba0a355
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -215,6 +215,10 @@ int platform_ipc_init(struct ipc *ipc)
sizeof(struct intel_ipc_data));
ipc_set_drvdata(_ipc, iipc);
/* schedule */
schedule_task_init(&_ipc->ipc_task, ipc_process_task, _ipc);
schedule_task_config(&_ipc->ipc_task, 0, 0);
#ifdef CONFIG_HOST_PTABLE
/* allocate page table buffer */
iipc->page_table = rzalloc(RZONE_SYS, SOF_MEM_CAPS_RAM,