ALSA: hda/realtek: Remove dummy lineout on Acer TravelMate P648/P658
authorChris Chiu <chiu@endlessos.org>
Wed, 16 Dec 2020 12:52:00 +0000 (20:52 +0800)
committerTakashi Iwai <tiwai@suse.de>
Wed, 16 Dec 2020 15:35:58 +0000 (16:35 +0100)
commit34cdf405aa5de827b8bef79a6c82c39120b3729b
treecd1e3f34f6d2a7ad58df74674ffac54b1b6e678d
parent598100be3053fef628adf3ad6ee4f828ad308f64
ALSA: hda/realtek: Remove dummy lineout on Acer TravelMate P648/P658

Acer TravelMate laptops P648/P658 series with codec ALC282 only have
one physical jack for headset but there's a confusing lineout pin on
NID 0x1b reported. Audio applications hence misunderstand that there
are a speaker and a lineout, and take the lineout as the default audio
output.

Add a new quirk to remove the useless lineout and enable the pin 0x18
for jack sensing and headset microphone.

Signed-off-by: Chris Chiu <chiu@endlessos.org>
Signed-off-by: Jian-Hong Pan <jhp@endlessos.org>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20201216125200.27053-1-chiu@endlessos.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c