summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorHui Wang <hui.wang@canonical.com>2014-07-08 13:56:14 +0400
committerTakashi Iwai <tiwai@suse.de>2014-07-08 14:41:08 +0400
commitfc1fad93c95bed53f701a1169c556113341b43f0 (patch)
tree094d8590e6c018aba47d000ce1242be2ada821c4 /sound
parent549d87823564e6edbd2077c2e6c979d17841f691 (diff)
downloadlinux-fc1fad93c95bed53f701a1169c556113341b43f0.tar.xz
ALSA: hda - fix a typo by changing mute_led_nid to cap_mute_led_nid
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>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/hda/patch_realtek.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 327413ee72fb..73b175944a07 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -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;