ALSA: hda - fix a typo by changing mute_led_nid to cap_mute_led_nid
authorHui Wang <hui.wang@canonical.com>
Tue, 8 Jul 2014 09:56:14 +0000 (17:56 +0800)
committerTakashi Iwai <tiwai@suse.de>
Tue, 8 Jul 2014 10:41:08 +0000 (12:41 +0200)
BugLink: https://bugs.launchpad.net/bugs/1329580
Cc: David Henningsson <david.henningsson@canonical.com>
Cc: Kailang Yang <kailang@realtek.com>
Signed-off-by: Hui Wang <hui.wang@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c

index 327413ee72fb57af480676e97b435d784570c612..73b175944a070769118dd85e92d9ac9f3e031292 100644 (file)
@@ -3529,7 +3529,7 @@ static void alc269_fixup_hp_cap_mic_mute_hook(struct hda_codec *codec,
        struct alc_spec *spec = codec->spec;
        unsigned int pinval, enable, disable;
 
-       pinval = snd_hda_codec_get_pin_target(codec, spec->mute_led_nid);
+       pinval = snd_hda_codec_get_pin_target(codec, spec->cap_mute_led_nid);
        pinval &= ~AC_PINCTL_VREFEN;
        enable  = pinval | AC_PINCTL_VREF_80;
        disable = pinval | AC_PINCTL_VREF_HIZ;