ALSA: hda/realtek: Enable audio jacks of ASUS UX362FA with ALC294
authorJian-Hong Pan <jian-hong@endlessm.com>
Thu, 21 Feb 2019 09:00:18 +0000 (17:00 +0800)
committerTakashi Iwai <tiwai@suse.de>
Thu, 21 Feb 2019 13:11:39 +0000 (14:11 +0100)
commit8bb37a2a4d7c02affef554f5dc05f6d2e39c31f9
tree8bccad6fb2bf2f40d87ccc7e39dd1d60444d9cb1
parentc0ca5eced22215c1e03e3ad479f8fab0bbb30772
ALSA: hda/realtek: Enable audio jacks of ASUS UX362FA with ALC294

The ASUS UX362FA with ALC294 cannot detect the headset MIC and outputs
through the internal speaker and the headphone.  This issue can be fixed
by the quirk in the commit 4e0511067 ALSA: hda/realtek: Enable audio
jacks of ASUS UX533FD with ALC294.

Besides, ASUS UX362FA and UX533FD have the same audio initial pin config
values.  So, this patch replaces SND_PCI_QUIRK of UX533FD with a new
SND_HDA_PIN_QUIRK which benefits both UX362FA and UX533FD.

Fixes: 4e051106730d ("ALSA: hda/realtek: Enable audio jacks of ASUS UX533FD with ALC294")
Signed-off-by: Jian-Hong Pan <jian-hong@endlessm.com>
Signed-off-by: Ming Shuo Chiu <chiu@endlessm.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c