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 <[email protected]>
---
 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 bf53663..6a4128d 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)
        int i;
        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];
                if (!pin)
                        break;
-- 
1.7.5.4

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/871582

Title:
  M4A89GTD_PRO_USB3/Realtek ALC892, Green Headphone Out, Front] Playback
  problem

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/871582/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to