Skip to content

Commit

Permalink
ALSA: usb-audio: Add vendor, product and profile name for HP Thunderb…
Browse files Browse the repository at this point in the history
…olt Dock

commit 0c5086f5699906ec8e31ea6509239489f060f2dc upstream.

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 <[email protected]>
Cc: <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
khfeng authored and gregkh committed Jun 17, 2020
1 parent 969c9b5 commit 10a8c04
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions sound/usb/quirks-table.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,26 @@
.idProduct = prod, \
.bInterfaceClass = USB_CLASS_VENDOR_SPEC

/* 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),
Expand Down

0 comments on commit 10a8c04

Please sign in to comment.