Skip to content

Commit 551c11c

Browse files
bardliaoplbossart
authored andcommitted
fixup! ASoC: SOF: ipc4-topology: add buffer type support
Add comment to explain why gtw_cfg setting is skipped. Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
1 parent c693d0c commit 551c11c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sound/soc/sof/ipc4-topology.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,10 @@ static int sof_ipc4_widget_setup_pcm(struct snd_sof_widget *swidget)
356356
goto free_available_fmt;
357357
}
358358

359+
/*
360+
* This callback is used by host copier and module-to-module copier,
361+
* and only host copier needs to set gtw_cfg.
362+
*/
359363
if (!WIDGET_IS_AIF(swidget->id))
360364
goto skip_gtw_cfg;
361365

0 commit comments

Comments
 (0)