ALSA: usb-audio: Handle the error from snd_usb_mixer_apply_create_quirk()

commit 328e9f6973 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: 7b1eda223d ("ALSA: usb-mixer: factor out quirks")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
Takashi Iwai 2019-04-24 13:00:03 +02:00 • committed by Ben Hutchings
commit 9b6f9e20a1