ALSA: usb-audio: Move ignore_ctl_error check into quirk_flags
authorTakashi Iwai <tiwai@suse.de>
Thu, 29 Jul 2021 07:44:01 +0000 (09:44 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 2 Aug 2021 07:06:05 +0000 (09:06 +0200)
commit3c69dc9134130deb9682279374d9d97de52b0731
tree7c0c654b680fd82189a0879f6e4d254278872f5d
parent44e6fc64dfebf48811219a9c24666b4b87dc0ec5
ALSA: usb-audio: Move ignore_ctl_error check into quirk_flags

The mixer code has a flag ignore_ctl_error for ignoring the errors
returned from the device wrt mixer accesses, and this is set from the
entries in mixer_maps.c, as well as ignore_ctl_error module option.
Those can be well integrated into the new quirk_flags field, too.

Link: https://lore.kernel.org/r/20210729074404.19728-3-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/card.c
sound/usb/mixer.c
sound/usb/mixer.h
sound/usb/mixer_maps.c
sound/usb/quirks.c
sound/usb/usbaudio.h