mirror of
https://github.com/torvalds/linux.git
synced 2026-06-05 04:56:13 +02:00
ASoC: SOF: topology: set trigger order for FE DAI link
Set trigger order for FE DAI links to SND_SOC_DPCM_TRIGGER_POST to trigger the BE DAI's before the FE DAI's. This prevents the xruns seen on playback pipelines using the link DMA. Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
This commit is contained in:
parent
fcb9d2363e
commit
fd274c2b72
|
|
@ -2936,6 +2936,10 @@ static int sof_link_load(struct snd_soc_component *scomp, int index,
|
|||
if (!link->no_pcm) {
|
||||
link->nonatomic = true;
|
||||
|
||||
/* set trigger order */
|
||||
link->trigger[0] = SND_SOC_DPCM_TRIGGER_POST;
|
||||
link->trigger[1] = SND_SOC_DPCM_TRIGGER_POST;
|
||||
|
||||
/* nothing more to do for FE dai links */
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user