Commit fc1fad93 authored by Hui Wang's avatar Hui Wang Committed by Takashi Iwai

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: default avatarHui Wang <hui.wang@canonical.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 549d8782
...@@ -3529,7 +3529,7 @@ static void alc269_fixup_hp_cap_mic_mute_hook(struct hda_codec *codec, ...@@ -3529,7 +3529,7 @@ static void alc269_fixup_hp_cap_mic_mute_hook(struct hda_codec *codec,
struct alc_spec *spec = codec->spec; struct alc_spec *spec = codec->spec;
unsigned int pinval, enable, disable; 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; pinval &= ~AC_PINCTL_VREFEN;
enable = pinval | AC_PINCTL_VREF_80; enable = pinval | AC_PINCTL_VREF_80;
disable = pinval | AC_PINCTL_VREF_HIZ; disable = pinval | AC_PINCTL_VREF_HIZ;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment