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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Mar 2018 09:54:34 +0000 (10:54 +0100)
commit816ee317d8a284a94e9af19810d9aed0b5cef28c
treef4a90fd37c762b0f0a23637e3dc81c97f288c785
parent3c69eccc1ab1d5f10dff2508bbf31fa55eeb2e4e
ALSA: hda/realtek - Fix dock line-out volume on Dell Precision 7520

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