Skip to content

Commit ec7cb27

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 changed to primary core if the flag is set. Check the flag and if it is set, force the pipeline core to primary core. Cc: stable@vger.kerel.org # 6.7+ Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
1 parent 632952d commit ec7cb27

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

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)