diff options
author | Takashi Iwai <tiwai@suse.de> | 2020-11-23 11:53:43 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-11-23 17:17:00 +0300 |
commit | 9fddc15e803945a744f357a4d1c94301e1ed6681 (patch) | |
tree | 894bd4cff83ff2dbc8672fa70e5a4261da47d7a3 /sound/usb/Makefile | |
parent | 6234fdc1cede3c1deda8324bdbb8274c0f4ff192 (diff) | |
download | linux-9fddc15e803945a744f357a4d1c94301e1ed6681.tar.xz |
ALSA: usb-audio: Factor out the implicit feedback quirk code
The code dealing with the implicit feedback mode grew recently, and
it's becoming messy. As we receive more and more devices that need
the similar handling, it's better to be processed through a table
instead of the open code.
This patch moves the code that is relevant with parsing the implicit
feedback mode and some helpers into another file, implicit.c. The
detection and the setup of the implicit feedback sync EPs are
rewritten to use the ID/class matching table instead.
There should be no functional changes.
Tested-by: Keith Milner <kamilner@superlative.org>
Tested-by: Dylan Robinson <dylan_robinson@motu.com>
Link: https://lore.kernel.org/r/20201123085347.19667-38-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/Makefile')
-rw-r--r-- | sound/usb/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/usb/Makefile b/sound/usb/Makefile index 56031026b113..9ccb21a4ff8a 100644 --- a/sound/usb/Makefile +++ b/sound/usb/Makefile @@ -8,6 +8,7 @@ snd-usb-audio-objs := card.o \ endpoint.o \ format.o \ helper.o \ + implicit.o \ mixer.o \ mixer_quirks.o \ mixer_scarlett.o \ |