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)
commitd8695bc5b1fe88305396b1f788d3b5f218e28a30
tree0f756e8450b6d5c147a59d924585cb1fd95d2ec5
parentc208a5335036a332c0248b0e16fca57332b3f1d1
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