[alsa-devel] [PATCH] alsa-lib: if card driver name is empty string, use card name instead

Mark Brown broonie at opensource.wolfsonmicro.com
Tue Sep 20 12:53:33 CEST 2011

On Tue, Sep 20, 2011 at 06:36:15PM +0800, Scott Jiang wrote:
> 2011/9/20 Mark Brown <broonie at opensource.wolfsonmicro.com>:

> >  - This clearly isn't something that affects only one driver - no ASoC
> >   driver sets a driver name - so a change to a single driver is clearly
> >   not a good solution even for just Blackfin.

> I thought about this. I wanted to copy codec name to driver name as
> before in asoc but I don't think it's a good idea.
> Now we can have multicodecs in one card, they may not be the same, right?
> If yes, we should add this name in each snd_soc_card.

If we want to do that then we need to go round every single machine
driver and add a driver name, plus add code in the core which flags
cards that don't set one.

More information about the Alsa-devel mailing list