From f7f8cd7c769882afe66875f83b23602bb23efed4 Mon Sep 17 00:00:00 2001 From: Ricardo Cerqueira Date: Thu, 5 Jan 2006 02:03:53 +0000 Subject: Fix cx88-alsa oops From: Ricardo Cerqueira Fixed double-spinlock bug Signed-off-by: --- linux/drivers/media/video/cx88/cx88-alsa.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'linux/drivers/media') 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"); -- cgit v1.2.3