From: Takashi Iwai <tiwai@suse.de>
Date: Tue, 19 Jan 2010 14:38:44 +0000 (+0100)
Subject: ALSA: hda - Fix parsing pin node 0x21 on ALC259
X-Git-Tag: firefly_0821_release~9833^2~3165^2~9
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4feabefe53eb3742f0b2773a43200d1686f3a288;p=firefly-linux-kernel-4.4.55.git

ALSA: hda - Fix parsing pin node 0x21 on ALC259

ALC259 has a widget NID 0x21 for the output pin, but it wasn't handled
properly in alc268_new_analog_output().

Signed-off-by: Takashi Iwai <tiwai@suse.de>
---

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 3f92def752fd..79cdae324c5e 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -12541,6 +12541,7 @@ static int alc268_new_analog_output(struct alc_spec *spec, hda_nid_t nid,
 		dac = 0x02;
 		break;
 	case 0x15:
+	case 0x21:
 		dac = 0x03;
 		break;
 	default: