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.10-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:
media-saa7134-fix-unlocked-snd_pcm_stop-call.patch
and it can be found in the queue-3.10 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]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/media/pci/saa7134/saa7134-alsa.c | 2 ++
1 file changed, 2 insertions(+)
--- a/drivers/media/pci/saa7134/saa7134-alsa.c
+++ b/drivers/media/pci/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.10/alsa-hda-fix-eapd-gpio-control-for-sigmatel-codecs.patch
queue-3.10/media-saa7134-fix-unlocked-snd_pcm_stop-call.patch
queue-3.10/alsa-hda-remove-no_presence-bit-override-for-dell-1420n-laptop.patch
queue-3.10/alsa-usb-audio-6fire-return-correct-xrun-indication.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