[alsa-devel] ASoC - Support for multiple components

Mark Brown broonie at opensource.wolfsonmicro.com
Wed Apr 21 19:41:59 CEST 2010

On Wed, Apr 21, 2010 at 08:18:46AM +0100, Liam Girdwood wrote:
> On Wed, 2010-04-21 at 08:53 +0300, Peter Ujfalusi wrote:

> > I see. How these IDs will be added?
> > Will does are given by the core automatically based on device load order, or 
> > will the machine driver have the ability to specify the ID for a codec?

> The machine driver will be able to specify the ID.

I guess for the default we could do something like sort by the
dev_name() of the CODEC or something.

> > Another question: how the PCM interfaces will be seen when we have multiple 
> > codec/dai in a card?
> > I suppose we will have multiple PCMs in a card, when we have multiple codec 
> > (multiple dai pairs)..?

> Yes, that's correct. We already support many cards with multiple PCMs
> atm. e.g. some WM9713 based cards already support 3 PCMs - 1 HiFi, 1
> voice and 1 System.

Pandora is another example in mainline.

More information about the Alsa-devel mailing list