]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Sep 2010 20:36:11 +0000 (13:36 -0700)
commit 5d4abf93ea3192cc666430225a29a4978c97c57d upstream.

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>
Cc: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/pci/hda/patch_realtek.c

index 1a7dfdae3c49550ce4d5a6ad687b695f31929696..ffe4c32948dbd2151768d55676b9e31333c8da52 100644 (file)
@@ -13026,6 +13026,7 @@ static int alc268_new_analog_output(struct alc_spec *spec, hda_nid_t nid,
                dac = 0x02;
                break;
        case 0x15:
+       case 0x1b:
        case 0x21: /* ALC269vb has this pin, too */
                dac = 0x03;
                break;