[alsa-devel] [PATCH 1/5] ALSA: snd-usb: don't fail hard if mixer creation fails

Daniel Mack zonque at gmail.com
Wed Jul 13 14:06:45 CEST 2011

On Wed, Jul 13, 2011 at 7:29 AM, Takashi Iwai <tiwai at suse.de> wrote:
> At Wed, 13 Jul 2011 02:13:25 +0200,
> Daniel Mack wrote:
>> There are cards that the mixer code fails to create controls for, and
>> currently, the whole sound device creation fails in such cases. This
>> patch changes the code so that it just spits out warnings and continues
>> looking at other functions of the descriptor set which might work just
>> fine.
> It depends.  If a serious error like -ENOMEM, we should abort
> immediately.  It means something is really bad.

That's very true. I'll change this and resend the whole series.


More information about the Alsa-devel mailing list