File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -283,6 +283,8 @@ static void prepare_host_windows()
283
283
284
284
static void sys_module_init (void )
285
285
{
286
+ LOG_INF ("" );
287
+
286
288
Z_STRUCT_SECTION_FOREACH (_sof_module , mod ) {
287
289
mod -> init ();
288
290
LOG_INF ("module %p init" , mod );
@@ -317,6 +319,7 @@ static int sof_boot_complete()
317
319
return 0 ;
318
320
}
319
321
322
+ /* This is analog of platform_init() */
320
323
static int sof_init (struct device * unused )
321
324
{
322
325
int ret ;
@@ -344,6 +347,13 @@ static int sof_init(struct device *unused)
344
347
345
348
LOG_INF ("IPC initialized" );
346
349
350
+ /* init DAIs */
351
+ ret = dai_init ();
352
+ if (ret < 0 ) {
353
+ LOG_ERR ("DAI initialization failed" );
354
+ return ret ;
355
+ }
356
+
347
357
/* init scheduler */
348
358
ret = scheduler_init ();
349
359
if (ret < 0 ) {
You can’t perform that action at this time.
0 commit comments