[v2] ALSA: usb-audio: Add vendor and product name for Dell WD19 Dock
diff mbox series

Message ID 20181128091126.5071-1-hui.wang@canonical.com
State New
Headers show
Series
  • [v2] ALSA: usb-audio: Add vendor and product name for Dell WD19 Dock
Related show

Commit Message

Hui Wang Nov. 28, 2018, 9:11 a.m. UTC
Like the Dell WD15 Dock, the WD19 Dock (0bda:402e) doens't provide
useful string for the vendor and product names too. In order to share
the UCM with WD15, here we keep the profile_name same as the WD15.

Signed-off-by: Hui Wang <hui.wang@canonical.com>
---
 sound/usb/quirks-table.h | 10 ++++++++++
 1 file changed, 10 insertions(+)

Comments

Takashi Iwai Nov. 28, 2018, 10:01 a.m. UTC | #1
On Wed, 28 Nov 2018 10:11:26 +0100,
Hui Wang wrote:
> 
> Like the Dell WD15 Dock, the WD19 Dock (0bda:402e) doens't provide
> useful string for the vendor and product names too. In order to share
> the UCM with WD15, here we keep the profile_name same as the WD15.
> 
> Signed-off-by: Hui Wang <hui.wang@canonical.com>

Applied, thanks.


Takashi

Patch
diff mbox series

diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h
index 849953e5775c..37fc0447c071 100644
--- a/sound/usb/quirks-table.h
+++ b/sound/usb/quirks-table.h
@@ -3382,5 +3382,15 @@  AU0828_DEVICE(0x2040, 0x7270, "Hauppauge", "HVR-950Q"),
 		.ifnum = QUIRK_NO_INTERFACE
 	}
 },
+/* Dell WD19 Dock */
+{
+	USB_DEVICE(0x0bda, 0x402e),
+	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
+		.vendor_name = "Dell",
+		.product_name = "WD19 Dock",
+		.profile_name = "Dell-WD15-Dock",
+		.ifnum = QUIRK_NO_INTERFACE
+	}
+},
 
 #undef USB_DEVICE_VENDOR_SPEC