summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88
diff options
context:
space:
mode:
authorRicardo Cerqueira <devnull@localhost>2006-01-05 02:03:53 +0000
committerRicardo Cerqueira <devnull@localhost>2006-01-05 02:03:53 +0000
commitf7f8cd7c769882afe66875f83b23602bb23efed4 (patch)
treebc9fdfb1d8a201d61fb9f43b02360c97e7723f30 /linux/drivers/media/video/cx88
parent0cc31265cf7c304af6c1c95e5ea88a9ab0fba55c (diff)
downloadmediapointer-dvb-s2-f7f8cd7c769882afe66875f83b23602bb23efed4.tar.gz
mediapointer-dvb-s2-f7f8cd7c769882afe66875f83b23602bb23efed4.tar.bz2
Fix cx88-alsa oops
From: Ricardo Cerqueira <v4l@cerqueira.org> Fixed double-spinlock bug Signed-off-by:
Diffstat (limited to 'linux/drivers/media/video/cx88')
-rw-r--r--linux/drivers/media/video/cx88/cx88-alsa.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-alsa.c b/linux/drivers/media/video/cx88/cx88-alsa.c
index 020d49166..2b78ad082 100644
--- a/linux/drivers/media/video/cx88/cx88-alsa.c
+++ b/linux/drivers/media/video/cx88/cx88-alsa.c
@@ -1,5 +1,5 @@
/*
- * $Id: cx88-alsa.c,v 1.25 2006/01/05 01:45:00 rmcc Exp $
+ * $Id: cx88-alsa.c,v 1.26 2006/01/05 02:03:53 rmcc Exp $
*
* Support for audio capture
* PCI function #1 of the cx2388x.
@@ -260,9 +260,7 @@ static void cx8801_aud_irq(snd_cx88_card_t *chip)
if (chip->read_count >= chip->period_size) {
dprintk(2, "Elapsing period\n");
- spin_lock(&chip->reg_lock);
snd_pcm_period_elapsed(chip->substream);
- spin_unlock(&chip->reg_lock);
}
dprintk(3,"Leaving audio IRQ handler...\n");