Skip to content

Commit 96fae71

Browse files
committed
ASoC: SOF: ipc4-topology: Handle SOF_DBG_DISABLE_MULTICORE flag for pipelines
SOF_DBG_DISABLE_MULTICORE is handled for swidgets in topology.c but the pipeline's core is not change to primary core if the flag is set. Check the flag and if it is set, force the pipeline core to primary core. Signed-off-by: Peter Ujfalusi <[email protected]>
1 parent 632952d commit 96fae71

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sound/soc/sof/ipc4-topology.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -937,6 +937,9 @@ static int sof_ipc4_widget_setup_comp_pipeline(struct snd_sof_widget *swidget)
937937
goto err;
938938
}
939939

940+
if (sof_debug_check_flag(SOF_DBG_DISABLE_MULTICORE))
941+
pipeline->core_id = SOF_DSP_PRIMARY_CORE;
942+
940943
swidget->core = pipeline->core_id;
941944
spipe->core_mask |= BIT(pipeline->core_id);
942945

0 commit comments

Comments
 (0)