[alsa-devel] registering multiple cards

Mark Brown broonie at opensource.wolfsonmicro.com
Tue Jan 11 12:28:24 CET 2011

On Tue, Jan 11, 2011 at 04:57:14PM +0530, Koul, Vinod wrote:

> Currently snd_soc_register_card is internal soc-core API and is called from 
> soc-probe. And probe always assumes it is a single device, so how do we add
> up two cards?

> I saw a note on this that it will exposed so that drivers can register. 
> What is that plan to do that, and meanwhile what can be done to solve this?

Just register two soc-audio devices.  Calling register_card() directly
will just make the API a bit nicer, it shouldn't add any new features.

More information about the Alsa-devel mailing list