ALSA: hda - Fix headphone pin config for Lifebook T731
authorTakashi Iwai <tiwai@suse.de>
Wed, 8 Apr 2015 18:47:55 +0000 (20:47 +0200)
committerSasha Levin <sasha.levin@oracle.com>
Thu, 23 Apr 2015 03:28:14 +0000 (23:28 -0400)
commite045a4c5987e398e48add806436d47645c222949
treee6f63693c5d47a1a11b70b52328f5dbf0af028e8
parent432b1f9b275f1e6640212323d24fae779e2e7f55
ALSA: hda - Fix headphone pin config for Lifebook T731

[ Upstream commit cc7016ab1a22fb26f388c2fb2b692b89897cbc3e ]

Some BIOS version of Fujitsu Lifebook T731 seems to set up the
headphone pin (0x21) without the assoc number 0x0f while it's set only
to the output on the docking port (0x1a).  With the recent commit
[03ad6a8c93b6: ALSA: hda - Fix "PCM" name being used on one DAC when
 there are two DACs], this resulted in the weird mixer element
mapping where the headphone on the laptop is assigned as a shared
volume with the speaker and the docking port is assigned as an
individual headphone.

This patch improves the situation by correcting the headphone pin
config to the more appropriate value.

Reported-and-tested-by: Taylor Smock <smocktaylor@gmail.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
sound/pci/hda/patch_realtek.c