| From 38a03a0470d0b24eb929cb1e516655c441034ff6 Mon Sep 17 00:00:00 2001 |
| From: Christoffer Nielsen <cn@obviux.dk> |
| Date: Fri, 19 Jun 2020 13:48:22 +0200 |
| Subject: [PATCH] ALSA: usb-audio: Add registration quirk for Kingston HyperX |
| Cloud Flight S |
| |
| commit 73094608b8e214952444fb104651704c98a37aeb upstream. |
| |
| Similar to the Kingston HyperX AMP, the Kingston HyperX Cloud |
| Alpha S (0951:0x16ea) uses two interfaces, but only the second |
| interface contains the capture stream. This patch delays the |
| registration until the second interface appears. |
| |
| Signed-off-by: Christoffer Nielsen <cn@obviux.dk> |
| Cc: <stable@vger.kernel.org> |
| Link: https://lore.kernel.org/r/CAOtG2YHOM3zy+ed9KS-J4HkZo_QGzcUG9MigSp4e4_-13r6B=Q@mail.gmail.com |
| Signed-off-by: Takashi Iwai <tiwai@suse.de> |
| Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> |
| |
| diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c |
| index 5341d045e6a4..6f51cc49ff50 100644 |
| --- a/sound/usb/quirks.c |
| +++ b/sound/usb/quirks.c |
| @@ -1802,6 +1802,7 @@ struct registration_quirk { |
| 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 */ |
| { 0 } /* terminator */ |
| }; |
| |
| -- |
| 2.27.0 |
| |