Commit 636030e9 authored by David Henningsson's avatar David Henningsson Committed by Takashi Iwai

ALSA: HDA: Fixup Realtek headphone pin initialization

This typo caused headphone pins not to be initialized correctly.

BugLink: https://bugs.launchpad.net/bugs/871582
Reported-by: Effenberg
Signed-off-by: default avatarDavid Henningsson <david.henningsson@canonical.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 6c5c04e5
...@@ -3263,7 +3263,7 @@ static void alc_auto_init_extra_out(struct hda_codec *codec) ...@@ -3263,7 +3263,7 @@ static void alc_auto_init_extra_out(struct hda_codec *codec)
int i; int i;
hda_nid_t pin, dac; hda_nid_t pin, dac;
for (i = 0; i < spec->autocfg.speaker_outs; i++) { for (i = 0; i < spec->autocfg.hp_outs; i++) {
pin = spec->autocfg.hp_pins[i]; pin = spec->autocfg.hp_pins[i];
if (!pin) if (!pin)
break; break;
......
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