Commit 736afaa
committed
ipc: move standalone-test check later in ipc_init()
If CONFIG_SOF_BOOT_TEST_STANDALONE is set, ipc_init() is terminated
early. This ensures SOF will not start to generate or respond
to IPC messages that could potentially interfere with standalone
test cases (some of which send and receive IPCs).
The current implementation leaves the component list uninitialized
and this can cause trouble to standalone tests that want to utilzie
common IPC code to build messages.
Fix this problem by executing more of ipc_init() also in the standalone
mode.
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>1 parent c450dc0 commit 736afaa
1 file changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
506 | 506 | | |
507 | 507 | | |
508 | 508 | | |
509 | | - | |
510 | | - | |
511 | | - | |
512 | | - | |
513 | | - | |
514 | 509 | | |
515 | 510 | | |
516 | 511 | | |
| |||
560 | 555 | | |
561 | 556 | | |
562 | 557 | | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
563 | 563 | | |
564 | 564 | | |
565 | 565 | | |
| |||
0 commit comments