Skip to content

Commit 8f1434c

Browse files
committed
ASoC: SOF: topology: set trigger order for FE DAI link
Set trigger order for FE DAI links to SND_SOC_DPCM_TRIGGER_POST to prevent xruns seen on playback pipelines using the link DMA. Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
1 parent eba91ed commit 8f1434c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

sound/soc/sof/topology.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2853,6 +2853,10 @@ static int sof_link_load(struct snd_soc_component *scomp, int index,
28532853
if (!link->no_pcm) {
28542854
link->nonatomic = true;
28552855

2856+
/* set trigger order */
2857+
link->trigger[0] = SND_SOC_DPCM_TRIGGER_POST;
2858+
link->trigger[1] = SND_SOC_DPCM_TRIGGER_POST;
2859+
28562860
/* nothing more to do for FE dai links */
28572861
return 0;
28582862
}

0 commit comments

Comments
 (0)