OSDN Git Service

ALSA: usb-audio: add startech usb audio dock name
authorCurtis Malainey <cujomalainey@chromium.org>
Tue, 4 Aug 2020 01:06:16 +0000 (18:06 -0700)
committerTakashi Iwai <tiwai@suse.de>
Tue, 4 Aug 2020 06:11:40 +0000 (08:11 +0200)
The dock sold from startech (PID: ICUSBAUDIO7D) has no friendly name
and shows up currently as "USB Sound Device" in ALSA.

Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
Link: https://lore.kernel.org/r/20200804010616.3399256-1-cujomalainey@chromium.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/quirks-table.h

index 2617e74..adb3b62 100644 (file)
@@ -3265,11 +3265,15 @@ AU0828_DEVICE(0x2040, 0x7270, "Hauppauge", "HVR-950Q"),
        }
 },
 
+/*
+ * The original product_name is "USB Sound Device", however this name
+ * is also used by the CM106 based cards, so make it unique.
+ */
+{
+       USB_DEVICE(0x0d8c, 0x0102),
+       QUIRK_RENAME_DEVICE(NULL, "ICUSBAUDIO7D")
+},
 {
-       /*
-        * The original product_name is "USB Sound Device", however this name
-        * is also used by the CM106 based cards, so make it unique.
-        */
        USB_DEVICE(0x0d8c, 0x0103),
        QUIRK_RENAME_DEVICE(NULL, "Audio Advantage MicroII")
 },