This is a note to let you know that I've just added the patch titled ALSA: pxa2xx: Fix unlocked snd_pcm_stop() call 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-pxa2xx-fix-unlocked-snd_pcm_stop-call.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 272f254b2719720e8a2de1d2baec234a35ea8a8f Mon Sep 17 00:00:00 2001 From: Takashi Iwai <tiwai@xxxxxxx> Date: Thu, 11 Jul 2013 17:59:33 +0200 Subject: ALSA: pxa2xx: Fix unlocked snd_pcm_stop() call From: Takashi Iwai <tiwai@xxxxxxx> commit 46f6c1aaf790be9ea3c8ddfc8f235a5f677d08e2 upstream. snd_pcm_stop() must be called in the PCM substream lock context. Acked-by: Mark Brown <broonie@xxxxxxxxxx> Signed-off-by: Takashi Iwai <tiwai@xxxxxxx> Signed-off-by: Ben Hutchings <ben@xxxxxxxxxxxxxxx> Cc: Weng Meiling <wengmeiling.weng@xxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- sound/arm/pxa2xx-pcm-lib.c | 2 ++ 1 file changed, 2 insertions(+) --- a/sound/arm/pxa2xx-pcm-lib.c +++ b/sound/arm/pxa2xx-pcm-lib.c @@ -166,7 +166,9 @@ void pxa2xx_pcm_dma_irq(int dma_ch, void } else { printk(KERN_ERR "%s: DMA error on channel %d (DCSR=%#x)\n", rtd->params->name, dma_ch, dcsr); + snd_pcm_stream_lock(substream); snd_pcm_stop(substream, SNDRV_PCM_STATE_XRUN); + snd_pcm_stream_unlock(substream); } } EXPORT_SYMBOL(pxa2xx_pcm_dma_irq); Patches currently in stable-queue which might be from tiwai@xxxxxxx are queue-3.4/asoc-sta32x-fix-wrong-enum-for-limiter2-release-rate.patch queue-3.4/saa7134-fix-unlocked-snd_pcm_stop-call.patch queue-3.4/asoc-wm8770-fix-wrong-number-of-enum-items.patch queue-3.4/alsa-usb-audio-work-around-kef-x300a-firmware-bug.patch queue-3.4/alsa-usx2y-fix-unlocked-snd_pcm_stop-call.patch queue-3.4/staging-line6-fix-unlocked-snd_pcm_stop-call.patch queue-3.4/asoc-s6000-fix-unlocked-snd_pcm_stop-call.patch queue-3.4/alsa-atiixp-fix-unlocked-snd_pcm_stop-call.patch queue-3.4/alsa-6fire-fix-unlocked-snd_pcm_stop-call.patch queue-3.4/alsa-pxa2xx-fix-unlocked-snd_pcm_stop-call.patch queue-3.4/alsa-ua101-fix-unlocked-snd_pcm_stop-call.patch queue-3.4/asoc-sta32x-fix-array-access-overflow.patch queue-3.4/alsa-asihpi-fix-unlocked-snd_pcm_stop-call.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