[alsa-devel] [RFC] ASoC: soc-pcm: Add support for unidirectional dai links

Mark Brown broonie at kernel.org
Thu Aug 29 12:47:42 CEST 2013


On Thu, Aug 29, 2013 at 01:54:59AM -0300, Fabio Estevam wrote:

> @@ -105,11 +105,13 @@ static struct snd_soc_dai_link mxs_sgtl5000_dai[] = {
>  		.stream_name	= "HiFi Playback",
>  		.codec_dai_name	= "sgtl5000",
>  		.ops		= &mxs_sgtl5000_hifi_ops,
> +		.playback_only	= true,
>  	}, {
>  		.name		= "HiFi Rx",
>  		.stream_name	= "HiFi Capture",
>  		.codec_dai_name	= "sgtl5000",
>  		.ops		= &mxs_sgtl5000_hifi_ops,
> +		.capture_only	= true,
>  	},

This doesn't make much sense to me - it should be possible to tell from
the capabilities of the two DAIs on the link if they support both
playback and capture.  Or has the board wired up two bidirectional DAIs
on each link for some reason?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20130829/43afeb90/attachment.sig>


More information about the Alsa-devel mailing list