diff options
author | David Henningsson <david.henningsson@canonical.com> | 2011-10-12 13:26:03 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-10-13 02:06:01 -0400 |
commit | 636030e90ed85a895061060ceb70873d22269420 (patch) | |
tree | f8b07df34d08bf8f2b18bfb45b364b2861815150 /sound/pci | |
parent | 6c5c04e509b7000617b09d4301f0b9b6d171d1e6 (diff) |
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: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index bf53663186c9..6a4128dc8c5a 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -3263,7 +3263,7 @@ static void alc_auto_init_extra_out(struct hda_codec *codec) | |||
3263 | int i; | 3263 | int i; |
3264 | hda_nid_t pin, dac; | 3264 | hda_nid_t pin, dac; |
3265 | 3265 | ||
3266 | for (i = 0; i < spec->autocfg.speaker_outs; i++) { | 3266 | for (i = 0; i < spec->autocfg.hp_outs; i++) { |
3267 | pin = spec->autocfg.hp_pins[i]; | 3267 | pin = spec->autocfg.hp_pins[i]; |
3268 | if (!pin) | 3268 | if (!pin) |
3269 | break; | 3269 | break; |