From: Mika Laitio Date: Tue, 12 Sep 2006 11:57:56 +0000 (+0300) Subject: [PATCH] Removed double spinlocking with omap15xx devices X-Git-Tag: v2.6.18-omap1~69 X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=63070a038a75b2fb0c8d6466f80069c12441a94c;p=linux-2.6-omap-h63xx.git [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 --- 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,