Skip to content

Commit 6f9e2c9

Browse files
ujfalusiranj063
authored andcommitted
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 842a43c commit 6f9e2c9

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
@@ -941,6 +941,9 @@ static int sof_ipc4_widget_setup_comp_pipeline(struct snd_sof_widget *swidget)
941941
goto err;
942942
}
943943

944+
if (sof_debug_check_flag(SOF_DBG_DISABLE_MULTICORE))
945+
pipeline->core_id = SOF_DSP_PRIMARY_CORE;
946+
944947
swidget->core = pipeline->core_id;
945948
spipe->core_mask |= BIT(pipeline->core_id);
946949
if (pipeline->direction_valid) {

0 commit comments

Comments
 (0)