]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ALSA: hda/realtek - Fix dock line-out volume on Dell Precision 7520
authorTakashi Iwai <tiwai@suse.de>
Tue, 6 Mar 2018 11:14:17 +0000 (12:14 +0100)
committerThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Thu, 15 Mar 2018 21:29:03 +0000 (18:29 -0300)
commit214839a8c819c2481bf42950f020531d20554b46
tree3611a07f9bef2b38e215d318d406a8ca1a916937
parent8c85df500cc3636a4da38cc8b9e0588274817d0b
ALSA: hda/realtek - Fix dock line-out volume on Dell Precision 7520

BugLink: http://bugs.launchpad.net/bugs/1756100
commit e312a869cd726c698a75caca0d9e5c22fd3f1534 upstream.

The dock line-out pin (NID 0x17 of ALC3254 codec) on Dell Precision
7520 may route to three different DACs, 0x02, 0x03 and 0x06.  The
first two DACS have the volume amp controls while the last one
doesn't.  And unfortunately, the auto-parser assigns this pin to DAC3,
resulting in the non-working volume control for the line out.

Fix it by disabling the routing to DAC3 on the corresponding pin.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=199029
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
sound/pci/hda/patch_realtek.c