mirror of https://github.com/thesofproject/sof.git
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:
parent
eba5396499
commit
492821a9f7
|
@ -4,4 +4,5 @@ add_local_sources(sof
|
||||||
clk.c
|
clk.c
|
||||||
dma.c
|
dma.c
|
||||||
memory.c
|
memory.c
|
||||||
|
dai.c
|
||||||
)
|
)
|
||||||
|
|
|
@ -196,7 +196,9 @@ int platform_init(struct sof *sof)
|
||||||
/* initialize the host IPC mechanims */
|
/* initialize the host IPC mechanims */
|
||||||
ipc_init(sof);
|
ipc_init(sof);
|
||||||
|
|
||||||
/* TO-DO: dai init */
|
ret = dai_init(sof);
|
||||||
|
if (ret < 0)
|
||||||
|
return ret;
|
||||||
|
|
||||||
#if CONFIG_TRACE
|
#if CONFIG_TRACE
|
||||||
/* Initialize DMA for Trace*/
|
/* Initialize DMA for Trace*/
|
||||||
|
|
Loading…
Reference in New Issue