Skip to content

Commit 472683b

Browse files
andrew-mtklgirdwood
authored andcommitted
platform: mtk: Add platform dai support for mt8365
Add platform dai_init() to platform_init(). Add platform dai to build list. Signed-off-by: Andrew Perepech <andrew.perepech@mediatek.com>
1 parent 62b6848 commit 472683b

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

src/platform/mt8365/lib/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ add_local_sources(sof
44
clk.c
55
dma.c
66
memory.c
7+
dai.c
78
)

src/platform/mt8365/platform.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,9 @@ int platform_init(struct sof *sof)
192192
/* initialize the host IPC mechanims */
193193
ipc_init(sof);
194194

195-
/* TO-DO: dai init */
195+
ret = dai_init(sof);
196+
if (ret < 0)
197+
return ret;
196198

197199
#if CONFIG_TRACE
198200
/* Initialize DMA for Trace*/

0 commit comments

Comments
 (0)