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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Dec 2020 10:54:07 +0000 (11:54 +0100)
commitdab63c1908af69d351a0a0c9bbe4e7eff83b86df
tree4f688a4459b92d65a4fd087bac87c413f0d39009
parentc131e56ac9106ffb625ed886dd4091ed4c35814f
ALSA: hda/realtek: Remove dummy lineout on Acer TravelMate P648/P658

commit 34cdf405aa5de827b8bef79a6c82c39120b3729b upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/patch_realtek.c