[alsa-devel] [PATCH] ASoC: Add optional pointer to machine audio routes to snd_soc_card

Jarkko Nikula jhnikula at gmail.com
Mon Dec 20 13:17:00 CET 2010

On Mon, 20 Dec 2010 13:22:49 +0200
Peter Ujfalusi <peter.ujfalusi at nokia.com> wrote:

> For sure we need to have the card level DAPM map, when we have more than one 
> codec in the system.
> What I was thinking is more like to move the DAPM map from codec domain up to 
> card level.
> What I mean is, that when you build up your ASoC card, the DAPM map/routes are 
> going to be attached to the card, and not to the codec.

Actually paths and widgets are already decoupled from codec and moved
to card domain. Map/route is initialization time thing which still has
dependency to codec. I.e. snd_soc_dapm_add_route favors a widget from
a calling dapm context (codec).

This is due if there are machines with multiple codecs that are not
cross-connected but if they have widgets with a same name and I didn't
want to force them to use name prefixing and thus causing
userspace-kernel space breakage (kcontrol names changed) compared to
current implementation.


More information about the Alsa-devel mailing list