Message ID | 1404813375-7602-1-git-send-email-hui.wang@canonical.com (mailing list archive) |
---|---|
State | Accepted |
Commit | fc1fad93c95bed53f701a1169c556113341b43f0 |
Delegated to: | Takashi Iwai |
Headers | show |
At Tue, 8 Jul 2014 17:56:14 +0800, Hui Wang wrote: > > 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> Thanks, applied both patches now. Takashi > --- > sound/pci/hda/patch_realtek.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c > index 327413e..73b1759 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; > -- > 1.8.1.2 >
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 327413e..73b1759 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;
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> --- sound/pci/hda/patch_realtek.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)