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

    ALSA: hda - Don't refer ELD when unplugged

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-don-t-refer-eld-when-unplugged.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 6661702f2e803b55b50cc0471eb6b9254e99eef2 Mon Sep 17 00:00:00 2001
From: Takashi Iwai <[email protected]>
Date: Tue, 11 Jan 2011 18:07:14 +0100
Subject: ALSA: hda - Don't refer ELD when unplugged

From: Takashi Iwai <[email protected]>

commit 6661702f2e803b55b50cc0471eb6b9254e99eef2 upstream.

When unplugged, we shouldn't refer to ELD information for PCM open
any more.

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

---
 sound/pci/hda/patch_hdmi.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/sound/pci/hda/patch_hdmi.c
+++ b/sound/pci/hda/patch_hdmi.c
@@ -827,7 +827,7 @@ static int hdmi_pcm_open(struct hda_pcm_
                *codec_pars = *hinfo;
 
        eld = &spec->sink_eld[idx];
-       if (eld->sad_count > 0) {
+       if (eld->eld_valid && eld->sad_count > 0) {
                hdmi_eld_update_pcm_info(eld, hinfo, codec_pars);
                if (hinfo->channels_min > hinfo->channels_max ||
                    !hinfo->rates || !hinfo->formats)


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