]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
ALSA: hda/realtek: Enable headset mic of ASUS P5440FF with ALC256
authorChris Chiu <chiu@endlessm.com>
Fri, 22 Mar 2019 03:37:20 +0000 (11:37 +0800)
committerSeth Forshee <seth.forshee@canonical.com>
Wed, 3 Apr 2019 18:12:34 +0000 (13:12 -0500)
BugLink: https://bugs.launchpad.net/bugs/1823060
commit a806ef1cf3bbc0baadc6cdeb11f12b5dd27e91c2 upstream.

The ASUS laptop P5440FF with ALC256 can't detect the headset microphone
until ALC256_FIXUP_ASUS_MIC_NO_PRESENCE quirk applied.

Signed-off-by: Chris Chiu <chiu@endlessm.com>
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
sound/pci/hda/patch_realtek.c

index c77e9f4fcd508c10355d0d7f6f5228c9d5a87c27..c85357c82d48864d873b60cb4f423e12b28dfc08 100644 (file)
@@ -7342,6 +7342,10 @@ static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = {
                {0x14, 0x90170110},
                {0x1b, 0x90a70130},
                {0x21, 0x03211020}),
+       SND_HDA_PIN_QUIRK(0x10ec0256, 0x1043, "ASUS", ALC256_FIXUP_ASUS_MIC_NO_PRESENCE,
+               {0x12, 0x90a60130},
+               {0x14, 0x90170110},
+               {0x21, 0x03211020}),
        SND_HDA_PIN_QUIRK(0x10ec0256, 0x1043, "ASUS", ALC256_FIXUP_ASUS_MIC_NO_PRESENCE,
                {0x1a, 0x90a70130},
                {0x1b, 0x90170110},