From: Curtis Malainey Date: Tue, 4 Aug 2020 01:06:16 +0000 (-0700) Subject: ALSA: usb-audio: add startech usb audio dock name X-Git-Tag: v5.9-rc1~22^2~20 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=559ff03fa33cf7d1b023c3d365e67738f429ead7;p=linux-2.6-block.git ALSA: usb-audio: add startech usb audio dock name 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 Link: https://lore.kernel.org/r/20200804010616.3399256-1-cujomalainey@chromium.org Signed-off-by: Takashi Iwai --- diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h index 2617e7415296..adb3b62afed4 100644 --- a/sound/usb/quirks-table.h +++ b/sound/usb/quirks-table.h @@ -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") },