This is a note to let you know that I've just added the patch titled
[media] saa7134: 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:
saa7134-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 <[email protected]> know about it.
>From e6355ad7b1c6f70e2f48ae159f5658b441ccff95 Mon Sep 17 00:00:00 2001
From: Takashi Iwai <[email protected]>
Date: Thu, 11 Jul 2013 18:00:59 +0200
Subject: [media] saa7134: Fix unlocked snd_pcm_stop() call
From: Takashi Iwai <[email protected]>
commit e6355ad7b1c6f70e2f48ae159f5658b441ccff95 upstream.
snd_pcm_stop() must be called in the PCM substream lock context.
Signed-off-by: Takashi Iwai <[email protected]>
[wml: Backported to 3.4: Adjust filename]
Signed-off-by: Weng Meiling <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/media/video/saa7134/saa7134-alsa.c | 2 ++
1 file changed, 2 insertions(+)
--- a/drivers/media/video/saa7134/saa7134-alsa.c
+++ b/drivers/media/video/saa7134/saa7134-alsa.c
@@ -172,7 +172,9 @@ static void saa7134_irq_alsa_done(struct
dprintk("irq: overrun [full=%d/%d] - Blocks in
%d\n",dev->dmasound.read_count,
dev->dmasound.bufsize, dev->dmasound.blocks);
spin_unlock(&dev->slock);
+ snd_pcm_stream_lock(dev->dmasound.substream);
snd_pcm_stop(dev->dmasound.substream,SNDRV_PCM_STATE_XRUN);
+ snd_pcm_stream_unlock(dev->dmasound.substream);
return;
}
Patches currently in stable-queue which might be from [email protected] 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/asoc-sta32x-fix-array-access-overflow.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html