]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ALSA: hda - Fix auto-parser of ALC269vb for HP pin NID 0x21
authorKailang Yang <kailang@realtek.com>
Fri, 9 Apr 2010 08:57:33 +0000 (10:57 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Sep 2010 20:17:49 +0000 (13:17 -0700)
commit 531d8791accf1464bc6854ff69d08dd866189d17 upstream.

ALC269vb has an alternative HP pin 0x21 in addition.
Fix the parser to recognize it.

Signed-off-by: Kailang Yang <kailang@realtek.com>
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 feb33c7b0e472ebd49898640e8d98b61429c9952..6fffe63598f4abc35ef56afba994620d881e08d8 100644 (file)
@@ -12389,6 +12389,7 @@ static int alc268_new_analog_output(struct alc_spec *spec, hda_nid_t nid,
                dac = 0x02;
                break;
        case 0x15:
+       case 0x21: /* ALC269vb has this pin, too */
                dac = 0x03;
                break;
        default: