[alsa-devel] [RFC][PATCH 1/2] ASoC: codec_dai_name become option
Kuninori Morimoto
kuninori.morimoto.gx at renesas.com
Tue Feb 5 01:30:14 CET 2013
Hi Stephen
> > 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.
In such case, first port (port A this case) is always selected.
> 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.
Some boards doesn't use port B.
I guess port B selection can be "option" ?
Best regards
---
Kuninori Morimoto
More information about the Alsa-devel
mailing list