[alsa-devel] [PATCH] ASoC: da7219: check SRM lock in trigger callback

Sridharan, Ranjani ranjani.sridharan at intel.com
Tue Feb 11 22:37:35 CET 2020


>
>
> >
> > Hi Pierre,
> >
> > Are you talking about the change in this commit acbf27746ecfa96b
> > "ASoC: pcm: update FE/BE trigger order based on the command"?
> >
> > We made this change to handle xruns during pause/release particularly on
> > the Intel HDA platforms.
>
> this change was just to mirror the behavior between start/stop, I
> thought there was a patch where we moved to TRIGGER_POST by default?
>
> What I am trying to figure out if whether using TRIGGER_PRE is ok or not
> for the SOF firmware.
>

Ahh yes, it was part of the same series as this one. fd274c2b7267b  "ASoC:
SOF: topology: set trigger order for FE DAI link"

TRIGGER_PRE won't really work in the case of SOF. We need the BE DAI to be
triggered before the FE DAI during start to prevent the xruns during
pause/release.

Thanks,
Ranjani


More information about the Alsa-devel mailing list