[alsa-devel] [PATCH] ASoC: make snd_soc_dai_link more symmetrical

Mark Brown broonie at kernel.org
Tue Dec 31 17:55:33 CET 2013

On Thu, Dec 12, 2013 at 06:59:17PM +0100, Jean-Francois Moine wrote:

> This patch renders optional the CODEC name / OF node on sound card register,
> as it is done for the CPU side, in the case the CODEC DAI name is unique.

> This simplifies the definition of CODECs with multiple DAIs, especially
> in DTs, while keeping compatibility.

So, this is similar to one of the comments I made on the DT patch you
sent today: you're saying that this makes things better but you're not
saying why it makes things better.  I've been sitting on this partly
because I've been wanting to sit down and try to work out what the
benefit is.  This information should be readily avaiable and omiting it
seems like it will make things more fragile.

If anything I'd expect DT to want to move towards specifying things by
CODEC plus optional DAI index rather than anything else, that's the more
common pattern for DT based things (really phandle plus index) and it's
what the current generic card is doing.

It's possible there is a benefit I'm just not seeing but you'll need to
tell me.
-------------- 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/20131231/8a2a77e4/attachment.sig>

More information about the Alsa-devel mailing list