summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorJan Schär <jan@jschaer.ch>2024-10-29 23:12:49 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-11-08 16:30:53 +0100
commit94af35a934b4e07cb1af0a5820c864ccf317f244 (patch)
treebd5061d3fec7f53ccbb39a6c96b281a748613f53 /sound
parent36b7f5a4f300d038270324640ff7c1399245159d (diff)
downloadlinux-94af35a934b4e07cb1af0a5820c864ccf317f244.tar.gz
linux-94af35a934b4e07cb1af0a5820c864ccf317f244.tar.bz2
linux-94af35a934b4e07cb1af0a5820c864ccf317f244.zip
ALSA: usb-audio: Add quirks for Dell WD19 dock
commit 4413665dd6c528b31284119e3571c25f371e1c36 upstream. The WD19 family of docks has the same audio chipset as the WD15. This change enables jack detection on the WD19. We don't need the dell_dock_mixer_init quirk for the WD19. It is only needed because of the dell_alc4020_map quirk for the WD15 in mixer_maps.c, which disables the volume controls. Even for the WD15, this quirk was apparently only needed when the dock firmware was not updated. Signed-off-by: Jan Schär <jan@jschaer.ch> Cc: <stable@vger.kernel.org> Link: https://patch.msgid.link/20241029221249.15661-1-jan@jschaer.ch Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/usb/mixer_quirks.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/usb/mixer_quirks.c b/sound/usb/mixer_quirks.c
index 5f09f9f205ce..d1cf32837be4 100644
--- a/sound/usb/mixer_quirks.c
+++ b/sound/usb/mixer_quirks.c
@@ -3880,6 +3880,9 @@ int snd_usb_mixer_apply_create_quirk(struct usb_mixer_interface *mixer)
break;
err = dell_dock_mixer_init(mixer);
break;
+ case USB_ID(0x0bda, 0x402e): /* Dell WD19 dock */
+ err = dell_dock_mixer_create(mixer);
+ break;
case USB_ID(0x2a39, 0x3fd2): /* RME ADI-2 Pro */
case USB_ID(0x2a39, 0x3fd3): /* RME ADI-2 DAC */