This is a note to let you know that I've just added the patch titled ALSA: pcsp: Fix the order of input device unregistration to the 3.4-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-pcsp-fix-the-order-of-input-device-unregistration.patch and it can be found in the queue-3.4 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From ad308321f9f96de08e776deb8ad16e9ff87276eb Mon Sep 17 00:00:00 2001 From: Takashi Iwai <tiwai@xxxxxxx> Date: Thu, 14 Nov 2013 15:45:12 +0100 Subject: ALSA: pcsp: Fix the order of input device unregistration From: Takashi Iwai <tiwai@xxxxxxx> commit 6408eac2665955343cd0e4bcd7d6237ce39611ed upstream. The current code may access to the already freed object. The input device must be accessed and unregistered before freeing the top level sound object. Signed-off-by: Takashi Iwai <tiwai@xxxxxxx> [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings <ben@xxxxxxxxxxxxxxx> Cc: Weng Meiling <wengmeiling.weng@xxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- sound/drivers/pcsp/pcsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/sound/drivers/pcsp/pcsp.c +++ b/sound/drivers/pcsp/pcsp.c @@ -187,8 +187,8 @@ static int __devinit pcsp_probe(struct p static int __devexit pcsp_remove(struct platform_device *dev) { struct snd_pcsp *chip = platform_get_drvdata(dev); - alsa_card_pcsp_exit(chip); pcspkr_input_remove(chip->input_dev); + alsa_card_pcsp_exit(chip); platform_set_drvdata(dev, NULL); return 0; } Patches currently in stable-queue which might be from tiwai@xxxxxxx are queue-3.4/alsa-aloop-fix-oops-while-pm-resume.patch queue-3.4/alsa-usb-add-quirk-for-192khz-recording-on-e-mu-devices.patch queue-3.4/alsa-usb-audio-skip-uac2-effect_unit.patch queue-3.4/alsa-6fire-fix-dma-issues-with-urb-transfer_buffer-usage.patch queue-3.4/xhci-fix-spurious-wakeups-after-s5-on-haswell.patch queue-3.4/alsa-pcsp-fix-the-order-of-input-device-unregistration.patch queue-3.4/alsa-hda-add-new-gpu-codec-id-to-snd-hda-2.patch queue-3.4/alsa-hda-cache-the-mux-selection-for-generic-hdmi.patch queue-3.4/alsa-ak4xx-adda-info-leak-in-ak4xxx_capture_source_info.patch queue-3.4/alsa-hda-add-new-gpu-codec-id-to-snd-hda.patch queue-3.4/alsa-hda-fix-internal-mic-for-lenovo-ideapad-u300s.patch queue-3.4/alsa-hda-realtek-add-support-of-alc231-codec.patch queue-3.4/xhci-limit-the-spurious-wakeup-fix-only-to-hp-machines.patch queue-3.4/alsa-6fire-make-buffers-dma-able-midi.patch queue-3.4/alsa-hda-add-conexant-cx20751-2-3-4-codec-support.patch queue-3.4/alsa-usb-parse-uac2-extension-unit-like-for-uac1.patch queue-3.4/revert-alsa-hda-shut-up-pins-at-power-saving-mode-with-conexnat-codecs.patch queue-3.4/alsa-hda-fix-non-snoop-page-handling.patch queue-3.4/alsa-6fire-make-buffers-dma-able-pcm.patch queue-3.4/alsa-hda-always-turn-on-pins-for-hdmi-dp.patch queue-3.4/alsa-hda-hdmi-fallback-to-alsa-allocation-when-selecting-ca.patch -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html