diff mbox series

ALSA: usb-audio: Add registration quirk for JBL Quantum headsets

Message ID 20210721235605.53741-1-alexander@tsoy.me (mailing list archive)
State Accepted
Commit b0084afde27fe8a504377dee65f55bc6aa776937
Headers show
Series ALSA: usb-audio: Add registration quirk for JBL Quantum headsets | expand

Commit Message

Alexander Tsoy July 21, 2021, 11:56 p.m. UTC
These devices has two interfaces, but only the second interface
contains the capture endpoint, thus quirk is required to delay the
registration until the second interface appears.

Tested-by: Jakub Fišer <jakub@ufiseru.cz>
Signed-off-by: Alexander Tsoy <alexander@tsoy.me>
---
 sound/usb/quirks.c | 3 +++
 1 file changed, 3 insertions(+)

Comments

Takashi Iwai July 22, 2021, 7:36 a.m. UTC | #1
On Thu, 22 Jul 2021 01:56:05 +0200,
Alexander Tsoy wrote:
> 
> These devices has two interfaces, but only the second interface
> contains the capture endpoint, thus quirk is required to delay the
> registration until the second interface appears.
> 
> Tested-by: Jakub Fišer <jakub@ufiseru.cz>
> Signed-off-by: Alexander Tsoy <alexander@tsoy.me>

Thanks, applied.


Takashi
diff mbox series

Patch

diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
index 8b8bee3c3dd6..e7accd87e063 100644
--- a/sound/usb/quirks.c
+++ b/sound/usb/quirks.c
@@ -1897,6 +1897,9 @@  static const struct registration_quirk registration_quirks[] = {
 	REG_QUIRK_ENTRY(0x0951, 0x16d8, 2),	/* Kingston HyperX AMP */
 	REG_QUIRK_ENTRY(0x0951, 0x16ed, 2),	/* Kingston HyperX Cloud Alpha S */
 	REG_QUIRK_ENTRY(0x0951, 0x16ea, 2),	/* Kingston HyperX Cloud Flight S */
+	REG_QUIRK_ENTRY(0x0ecb, 0x1f46, 2),	/* JBL Quantum 600 */
+	REG_QUIRK_ENTRY(0x0ecb, 0x2039, 2),	/* JBL Quantum 400 */
+	REG_QUIRK_ENTRY(0x0ecb, 0x203e, 2),	/* JBL Quantum 800 */
 	{ 0 }					/* terminator */
 };