]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: Rewrite registration quirk handling
authorTakashi Iwai <tiwai@suse.de>
Wed, 25 Mar 2020 10:33:19 +0000 (11:33 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 26 Mar 2020 09:47:00 +0000 (10:47 +0100)
commitd1ad53902900d0d2f052351ff03b5730ff78793b
tree0f756e8450b6d5c147a59d924585cb1fd95d2ec5
parentc638f5feb5b8cd92c0722753898c2eb5417ade79
ALSA: usb-audio: Rewrite registration quirk handling

A slight refactoring of the registration quirk code.  Now it uses the
table lookup for easy additions in future.  Also the return type was
changed to bool, and got a few more comments.

Link: https://lore.kernel.org/r/20200325103322.2508-2-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/card.c
sound/usb/quirks.c
sound/usb/quirks.h