]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.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)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 14 Feb 2020 05:29:37 +0000 (00:29 -0500)
commit96c38a65617245404689630a7c5ea510306fa882
tree78609681a623bba39a49db0f0d819388b8f689cf
parentc6004eec8c54a4d0576170d41720d71dd6fac44e
ALSA: usb-audio: Handle the error from snd_usb_mixer_apply_create_quirk()

BugLink: https://bugs.launchpad.net/bugs/1863019
[ Upstream commit 328e9f6973be2ee67862cb17bf6c0c5c5918cd72 ]

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: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
sound/usb/mixer.c