]> www.infradead.org Git - users/dwmw2/linux.git/commit
ALSA: usb-audio: Handle the error from snd_usb_mixer_apply_create_quirk()
authorTakashi Iwai <tiwai@suse.de>
Wed, 24 Apr 2019 11:00:03 +0000 (13:00 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Mon, 23 Sep 2019 20:11:47 +0000 (21:11 +0100)
commit9b6f9e20a1221b5c970bf8e7b1646a07bd02f9ae
tree9343158211360381bb2e4674592bd8277cf5c87a
parent3d8da4b0b39a343829aa3b6e4887a82f1821de23
ALSA: usb-audio: Handle the error from snd_usb_mixer_apply_create_quirk()

commit 328e9f6973be2ee67862cb17bf6c0c5c5918cd72 upstream.

The error from snd_usb_mixer_apply_create_quirk() is ignored in the
current usb-audio driver code, which will continue the probing even
after the error.  Let's take it more serious.

Fixes: 7b1eda223deb ("ALSA: usb-mixer: factor out quirks")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
sound/usb/mixer.c