summaryrefslogtreecommitdiffstats
path: root/sound/usb/implicit.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2020-11-23 09:53:45 +0100
committerTakashi Iwai <tiwai@suse.de>2020-11-23 15:17:24 +0100
commit62abd092f97b33a33fcdb98c30bc01f2b1c55d04 (patch)
tree15532ccf444ab91345aa4a3c1ee0a7c5e7acaca4 /sound/usb/implicit.c
parent83b7dcbc51c930fc2079ab6c6fc9d719768321f1 (diff)
downloadlinux-62abd092f97b33a33fcdb98c30bc01f2b1c55d04.tar.gz
linux-62abd092f97b33a33fcdb98c30bc01f2b1c55d04.tar.bz2
linux-62abd092f97b33a33fcdb98c30bc01f2b1c55d04.zip
ALSA: usb-audio: Add implicit_fb module option
A new module option, implicit_fb, is added to specify the driver looking for the implicit feedback sync. This can be useful for a device that could be working better in the implicit feed back mode and user wants to test it quickly. When this works, we can add the quirk entry easily. Tested-by: Keith Milner <kamilner@superlative.org> Tested-by: Dylan Robinson <dylan_robinson@motu.com> Link: https://lore.kernel.org/r/20201123085347.19667-40-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/implicit.c')
-rw-r--r--sound/usb/implicit.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/usb/implicit.c b/sound/usb/implicit.c
index 16b1fb55b7b9..1d87fcdae95b 100644
--- a/sound/usb/implicit.c
+++ b/sound/usb/implicit.c
@@ -269,6 +269,10 @@ static int audioformat_implicit_fb_quirk(struct snd_usb_audio *chip,
return 1;
}
+ /* Try the generic implicit fb if available */
+ if (chip->generic_implicit_fb)
+ return add_generic_implicit_fb(chip, fmt, alts);
+
/* No quirk */
return 0;
}