From 63070a038a75b2fb0c8d6466f80069c12441a94c Mon Sep 17 00:00:00 2001 From: Mika Laitio Date: Tue, 12 Sep 2006 14:57:56 +0300 Subject: [PATCH] [PATCH] Removed double spinlocking with omap15xx devices Removed double spinlocking with omap15xx devices. Thanks for the Jian Zhang for reporting this one. Signed-off-by: Mika Laitio Signed-off-by: Tony Lindgren --- sound/arm/omap/omap-alsa.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sound/arm/omap/omap-alsa.c b/sound/arm/omap/omap-alsa.c index 583460cf176..b74202f68e3 100644 --- a/sound/arm/omap/omap-alsa.c +++ b/sound/arm/omap/omap-alsa.c @@ -190,7 +190,6 @@ static void audio_process_dma(struct audio_stream *s) unsigned int dma_size; unsigned int offset; int ret; - unsigned long flags; ADEBUG(); runtime = substream->runtime; @@ -205,9 +204,7 @@ static void audio_process_dma(struct audio_stream *s) * (invocation of callback_omap_alsa_sound_dma() method). */ if (cpu_is_omap15xx()) { - spin_lock_irqsave(&s->dma_lock, flags); omap_stop_alsa_sound_dma(s); - spin_unlock_irqrestore(&s->dma_lock, flags); } ret = omap_start_alsa_sound_dma(s, (dma_addr_t)runtime->dma_area + offset, -- 2.41.1