[alsa-devel] ASoC:Question on strict sequence followed for trigger

gsantosh at codeaurora.org gsantosh at codeaurora.org
Thu Mar 29 02:25:14 CEST 2012

Hi All,

I see there is a strict sequence followed for trigger callback to codec
dai, platform dai and cpu dai.
In the below function of soc-core .
int soc_pcm_trigger(struct snd_pcm_substream *substream, int cmd);

In some scenarios we may require the sequence to be the other case to make
sure the underlying DSP / codec is configured and triggered properly. I
have a requirement that this sequence has to be
1)        Codec_dai
2)        Cpu_dai
3)        Platform dai

Will this call sequence can be changed or there is no room to change this

Santosh M G.

More information about the Alsa-devel mailing list