]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ALSA: hda - Add one more node in the EAPD supporting candidate list
authorHui Wang <hui.wang@canonical.com>
Thu, 26 Mar 2015 09:14:55 +0000 (17:14 +0800)
committerSasha Levin <sasha.levin@oracle.com>
Thu, 23 Apr 2015 03:27:42 +0000 (23:27 -0400)
[ Upstream commit af95b41426e0b58279f8ff0ebe420df49a4e96b8 ]

We have a HP machine which use the codec node 0x17 connecting the
internal speaker, and from the node capability, we saw the EAPD,
if we don't set the EAPD on for this node, the internal speaker
can't output any sound.

Cc: <stable@vger.kernel.org>
BugLink: https://bugs.launchpad.net/bugs/1436745
Signed-off-by: Hui Wang <hui.wang@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
sound/pci/hda/patch_realtek.c

index ad01e1f3d4b30b472f81bd178a8c6c512bc0c806..af4002e76b539e1c9f00633bd99cb6a444e5984c 100644 (file)
@@ -392,7 +392,7 @@ static void alc_auto_setup_eapd(struct hda_codec *codec, bool on)
 {
        /* We currently only handle front, HP */
        static hda_nid_t pins[] = {
-               0x0f, 0x10, 0x14, 0x15, 0
+               0x0f, 0x10, 0x14, 0x15, 0x17, 0
        };
        hda_nid_t *p;
        for (p = pins; *p; p++)