]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ALSA: hda - Handle pin NID 0x1a on ALC259/269
authorTakashi Iwai <tiwai@suse.de>
Fri, 30 Jul 2010 12:08:25 +0000 (14:08 +0200)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 6 Jan 2011 23:07:53 +0000 (18:07 -0500)
commit b08b1637ce1c0196970348bcabf40f04b6b3d58e upstream.

The pin NID 0x1a should be handled as well as NID 0x1b.
Also added comments.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
sound/pci/hda/patch_realtek.c

index 1df35cd8e93dfcd2607ae3a603344723c05442ff..7b516f1d5b3bd0b407a44395554b9ddaeaeac3f6 100644 (file)
@@ -12911,7 +12911,8 @@ static int alc268_new_analog_output(struct alc_spec *spec, hda_nid_t nid,
                dac = 0x02;
                break;
        case 0x15:
-       case 0x1b:
+       case 0x1a: /* ALC259/269 only */
+       case 0x1b: /* ALC259/269 only */
        case 0x21: /* ALC269vb has this pin, too */
                dac = 0x03;
                break;