platform: mtk: add platform dai build support for mt8186

Add platform dai build support
Add platform dai_init

Signed-off-by: Chunxu Li <chunxu.li@mediatek.com>
This commit is contained in:
Chunxu Li 2022-03-03 17:52:44 +08:00 committed by Curtis Malainey
parent eba5396499
commit 492821a9f7
2 changed files with 4 additions and 1 deletions

View File

@ -4,4 +4,5 @@ add_local_sources(sof
clk.c
dma.c
memory.c
dai.c
)

View File

@ -196,7 +196,9 @@ int platform_init(struct sof *sof)
/* initialize the host IPC mechanims */
ipc_init(sof);
/* TO-DO: dai init */
ret = dai_init(sof);
if (ret < 0)
return ret;
#if CONFIG_TRACE
/* Initialize DMA for Trace*/