summaryrefslogtreecommitdiffstats
path: root/sound/usb/quirks.h
diff options
context:
space:
mode:
authorChris Wulff <crwulff@gmail.com>2020-03-14 17:54:49 +0100
committerTakashi Iwai <tiwai@suse.de>2020-03-14 18:25:03 +0100
commit55f7326170d9e83e2d828591938e1101982a679c (patch)
tree69e4664c8d57d9f34d0fed279c61249ab48cfe41 /sound/usb/quirks.h
parentALSA: usb-audio: Fix mixer controls' USB interface for Kingston HyperX Amp (0... (diff)
downloadlinux-55f7326170d9e83e2d828591938e1101982a679c.tar.xz
linux-55f7326170d9e83e2d828591938e1101982a679c.zip
ALSA: usb-audio: Create a registration quirk for Kingston HyperX Amp (0951:16d8)
Create a quirk that allows special processing and/or skipping the call to snd_card_register. For HyperX AMP, which uses two interfaces, but only has a capture stream in the second, this allows the capture stream to merge with the first PCM. Signed-off-by: Chris Wulff <crwulff@gmail.com> Link: https://lore.kernel.org/r/20200314165449.4086-3-crwulff@gmail.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/quirks.h')
-rw-r--r--sound/usb/quirks.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/usb/quirks.h b/sound/usb/quirks.h
index df0355843a4c..3afc01eabc7e 100644
--- a/sound/usb/quirks.h
+++ b/sound/usb/quirks.h
@@ -51,4 +51,7 @@ void snd_usb_audioformat_attributes_quirk(struct snd_usb_audio *chip,
struct audioformat *fp,
int stream);
+int snd_usb_registration_quirk(struct snd_usb_audio *chip,
+ int iface);
+
#endif /* __USBAUDIO_QUIRKS_H */