ALSA: hda/realtek: Enable the headset mic auto detection for ASUS laptops
authorJian-Hong Pan <jian-hong@endlessm.com>
Thu, 27 Dec 2018 08:46:31 +0000 (16:46 +0800)
committerTakashi Iwai <tiwai@suse.de>
Tue, 1 Jan 2019 08:30:04 +0000 (09:30 +0100)
The headset mic of ASUS laptops like UX533FD, UX433FN and UX333FA, whose
CODEC is Realtek ALC294 has jack auto detection feature. This patch
enables the feature.

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

index a4f4a9dd488df28a6f1aee4548d1ae68aa61c7cd..aee4cbd29d53cd4aaff517a11126c9177e4a41fc 100644 (file)
@@ -6501,7 +6501,7 @@ static const struct hda_fixup alc269_fixups[] = {
        [ALC294_FIXUP_ASUS_HEADSET_MIC] = {
                .type = HDA_FIXUP_PINS,
                .v.pins = (const struct hda_pintbl[]) {
-                       { 0x19, 0x01a1113c }, /* use as headset mic, without its own jack detect */
+                       { 0x19, 0x01a1103c }, /* use as headset mic */
                        { }
                },
                .chained = true,