[alsa-devel] question on snd_soc_dai_link_event

Sebastien LEDUC sebastien.leduc at st.com
Wed Nov 21 18:56:55 CET 2012

Hi Mark

One further question on the dai_link widget mechanism.

Currently the code in soc_probe_link_dais, the code will call snd_soc_dapm_new_pcm
to create the dai_link widget and the routes.

For a capture stream, it creates the following routes:
Cpu_dai widget -> dai_link widget -> codec_dai widget

And for a playback stream:
Codec_dai widget -> dai_link widget -> cpu_dai widget

Shouldn't it be the opposite directions in both cases?
Or did I miss something?


More information about the Alsa-devel mailing list