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)
committerTakashi Iwai <tiwai@suse.de>
Tue, 6 Mar 2018 13:49:22 +0000 (14:49 +0100)
commite312a869cd726c698a75caca0d9e5c22fd3f1534
treefc41b79a2cc7037c67ff63de58439d8f737d3484
parent85981dfd6b0a0fd9ed87ca4a525981b67c21f098
ALSA: hda/realtek - Fix dock line-out volume on Dell Precision 7520

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>
sound/pci/hda/patch_realtek.c