ALSA: hda - Handle missing NID 0x1b on ALC259 codec
authorTakashi Iwai <tiwai@suse.de>
Fri, 30 Jul 2010 08:51:10 +0000 (10:51 +0200)
committerLeann Ogasawara <leann.ogasawara@canonical.com>
Mon, 28 Mar 2011 13:49:09 +0000 (06:49 -0700)
BugLink: http://bugs.launchpad.net/bugs/582199
BugLink: http://bugs.launchpad.net/bugs/586418
BugLink: http://bugs.launchpad.net/bugs/588031

Since ALC259/269 use the same parser of ALC268, the pin 0x1b was ignored
as an invalid widget.  Just add this NID to handle properly.
This will add the missing mixer controls for some devices.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
(cherry picked from commit 5d4abf93ea3192cc666430225a29a4978c97c57d in
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git)

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>

sound/pci/hda/patch_realtek.c

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