ALSA: usb-audio: Add vendor, product and profile name for HP Thunderbolt Dock
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Mon, 8 Jun 2020 06:26:28 +0000 (14:26 +0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 8 Jun 2020 07:11:54 +0000 (09:11 +0200)
The HP Thunderbolt Dock has two separate USB devices, one is for speaker
and one is for headset. Add names for them so userspace can apply UCM
settings.

Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20200608062630.10806-1-kai.heng.feng@canonical.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/quirks-table.h

index 6d6492195bdc7e7a110295f204649c4b9355f64f..90d65bfa733dcab72fb016c626d7d37a674050a9 100644 (file)
                .ifnum = QUIRK_NO_INTERFACE                             \
        }
 
+/* HP Thunderbolt Dock Audio Headset */
+{
+       USB_DEVICE(0x03f0, 0x0269),
+       .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
+               .vendor_name = "HP",
+               .product_name = "Thunderbolt Dock Audio Headset",
+               .profile_name = "HP-Thunderbolt-Dock-Audio-Headset",
+               .ifnum = QUIRK_NO_INTERFACE
+       }
+},
+/* HP Thunderbolt Dock Audio Module */
+{
+       USB_DEVICE(0x03f0, 0x0567),
+       .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
+               .vendor_name = "HP",
+               .product_name = "Thunderbolt Dock Audio Module",
+               .profile_name = "HP-Thunderbolt-Dock-Audio-Module",
+               .ifnum = QUIRK_NO_INTERFACE
+       }
+},
 /* FTDI devices */
 {
        USB_DEVICE(0x0403, 0xb8d8),