ALSA: usb-audio: Move media-controller API quirk into quirk_flags
authorTakashi Iwai <tiwai@suse.de>
Thu, 29 Jul 2021 07:38:48 +0000 (09:38 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 2 Aug 2021 07:05:54 +0000 (09:05 +0200)
commitce47d47e5cc8768ba6db4a5a6fb166b176fe12e6
tree31ac5e6ebf3f7d8151231b0c99d744189e526ba8
parent4d4dee0aefec36e6d1568e844a9e75a2e165cb93
ALSA: usb-audio: Move media-controller API quirk into quirk_flags

The devices that can have media-controller API entries are currently
specified via tables in quirks-table.h, as a part of descriptor
override.  This can fit better to the new quirk_flags, as we just need
a matching with the given ID and create the MC entries accordingly.

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