How to specify that a non-DPCM DAI link is bidirectional?

Daniel Baluta daniel.baluta at gmail.com
Thu May 28 12:48:22 CEST 2020


Hi all,

For uni-directional  dai links there are these fields of snd_soc_dai_link:
* playback_only
* capture_only

But what about bi-directional DAI links?

Is it safe to assume that if playback_only = 0 and capture_only = 0
then the link is bi-directional?

We need this in sound/soc/soc-core.c: soc_check_tplg_fes
where a non-DPCM link is converted to a BE DPCM and we
need to inherit the directions supported.

For reference see: https://github.com/thesofproject/linux/pull/2143

thanks,
Daniel.


More information about the Alsa-devel mailing list