This is a note to let you know that I've just added the patch titled

    ALSA: hda - Fix multi-headphone handling for Realtek codecs

to the 2.6.37-stable tree which can be found at:
    
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     alsa-hda-fix-multi-headphone-handling-for-realtek-codecs.patch
and it can be found in the queue-2.6.37 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.


>From b2d0576055bd1cafcd91a23cf85064815f1396cd Mon Sep 17 00:00:00 2001
From: Takashi Iwai <[email protected]>
Date: Mon, 10 Jan 2011 14:47:35 +0100
Subject: ALSA: hda - Fix multi-headphone handling for Realtek codecs

From: Takashi Iwai <[email protected]>

commit b2d0576055bd1cafcd91a23cf85064815f1396cd upstream.

When multiple headphone pins are defined without line-out pins, the
driver takes them as primary outputs.  But it forgot to set line_out_type
to HP by assuming there is some rest of HP pins.  This results in some
mis-handling of these pins for Realtek codec parser.  It takes as if
these are pure line-out jacks.

Signed-off-by: Takashi Iwai <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

---
 sound/pci/hda/hda_codec.c |    3 +++
 1 file changed, 3 insertions(+)

--- a/sound/pci/hda/hda_codec.c
+++ b/sound/pci/hda/hda_codec.c
@@ -4571,6 +4571,9 @@ int snd_hda_parse_pin_def_config(struct
                }
                memset(cfg->hp_pins + cfg->hp_outs, 0,
                       sizeof(hda_nid_t) * (AUTO_CFG_MAX_OUTS - cfg->hp_outs));
+               if (!cfg->hp_outs)
+                       cfg->line_out_type = AUTO_PIN_HP_OUT;
+
        }
 
        /* sort by sequence */


Patches currently in stable-queue which might be from [email protected] are

queue-2.6.37/alsa-snd-usb-us122l-fix-midi-output.patch
queue-2.6.37/alsa-hda-fix-null-derefence-with-a-single-mic-in-stac-auto-mic-detection.patch
queue-2.6.37/alsa-hda-add-missing-nid-0x19-fixup-for-sony-vaio.patch
queue-2.6.37/alsa-hda-disable-4-6-channels-on-some-nvidia-gpus.patch
queue-2.6.37/alsa-hda-don-t-refer-eld-when-unplugged.patch
queue-2.6.37/alsa-hda-add-static_hdmi_pcm-option-to-hdmi-codec-parser.patch
queue-2.6.37/alsa-snd-usb-us122l-fix-missing-null-checks.patch
queue-2.6.37/alsa-hda-use-vostro-model-quirk-for-dell-vostro-1014.patch
queue-2.6.37/alsa-hda-fix-dmesg-output-of-hdmi-supported-bits.patch
queue-2.6.37/alsa-hda-fix-multi-headphone-handling-for-realtek-codecs.patch
queue-2.6.37/alsa-au88x0-limit-number-of-channels-to-fix-oops-via-oss-emu.patch
queue-2.6.37/alsa-hda-create-mixers-on-alc887.patch
queue-2.6.37/alsa-hda-fix-memory-leaks-in-conexant-jack-arrays.patch
queue-2.6.37/alsa-fix-invalid-hardware.h-include-in-ac97c-for-avr32-architecture.patch

_______________________________________________
stable mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/stable

Reply via email to