summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHui Wang <hui.wang@canonical.com>2015-03-26 17:14:55 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-04-19 10:11:05 +0200
commitf858097eb8433b0c28ceaca8e992b338fb392772 (patch)
treec7f078c53e6460819cb939dfbc5fda2c00f4252e
parent80f018df0dbd9a233241094870c13cccb33ba088 (diff)
downloadlwn-f858097eb8433b0c28ceaca8e992b338fb392772.tar.gz
lwn-f858097eb8433b0c28ceaca8e992b338fb392772.zip
ALSA: hda - Add one more node in the EAPD supporting candidate list
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--sound/pci/hda/patch_realtek.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 910f2dbe1b24..94615072e373 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -271,7 +271,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++)