]> 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)
committerZefan Li <lizefan@huawei.com>
Fri, 19 Jun 2015 03:40:29 +0000 (11:40 +0800)
commit af95b41426e0b58279f8ff0ebe420df49a4e96b8 upstream.

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.

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: Zefan Li <lizefan@huawei.com>
sound/pci/hda/patch_realtek.c

index 9461a004f08b2d3b645647b0d9c20ad9dcc12a5d..b16a37f633c5b2ecb2a9964bb613c7f18a9c7fee 100644 (file)
@@ -759,7 +759,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++)