[alsa-devel] [RFC][PATCH 1/2] ASoC: codec_dai_name become option

Stephen Warren swarren at wwwdotorg.org
Mon Feb 4 23:26:41 CET 2013


On 01/31/2013 10:19 PM, Kuninori Morimoto wrote:
> Current ASoC always request codec_dai_name for matching,
> but it can be option.
> This patch set codec_dai_name as option.

This seems reasonable to me. However, I don't think it helps solve the
case you mentioned in your earlier email:

> +-------------+
> | FSI  port A |--> ak4642
> |      port B |--> HDMI
> +-------------+

In that case there are two DAIs, and with this patch and no specified
DAI name, you won't be able to control which of those two DAIs gets used
by the DAI link.

So while I can see the utility of this patch in some cases, I think you
really want to explicitly specify the DAI name (or DAI ID) in the device
tree for the simple-audio use-case.


More information about the Alsa-devel mailing list