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

Takashi Iwai tiwai at suse.de
Tue Sep 20 09:12:19 CEST 2011


At Tue, 20 Sep 2011 14:55:14 +0800,
Scott Jiang wrote:
> 
> 2011/9/20 Takashi Iwai <tiwai at suse.de>:
> > At Tue, 20 Sep 2011 14:37:04 +0800,
> > Scott Jiang wrote:
> >>
> >> 2011/9/20 Takashi Iwai <tiwai at suse.de>:
> >> > At Tue, 20 Sep 2011 13:15:44 -0400,
> >> > Scott Jiang wrote:
> >> >>
> >> >> Some drivers don't have a card driver name, but they have a nice card name containing enough info.
> >> >> So we can use card name to search card config if we found driver name is not valid.
> >> >>
> >> >> Signed-off-by: Scott Jiang <scott.jiang.linux at gmail.com>
> >> >
> >> > It's rather a bug of driver, no?
> >> > I don't think we need to work around it.
> >> >
> >> Mark said it's a bug of app..., he believes driver has provided enough
> >> info in card name.
> >
> > No, the driver name should be set, too.
> >
> I agree with you, but my driver patch has been rejected by Mark.

That's bad.  But it's a rule since over 10 years ago: the driver
should set driver field.


Takashi


More information about the Alsa-devel mailing list