Skip to contentSkip to conversation

Removed double spinlocking with omap15xx devices.

PATCH In review lamikr 1 participant 1 message Aug 18, 2006 Sound

lore
Share & tools
lore

lamikr

author
#0 lore raw

PATCH 2/5 Removed double spinlocking with omap15xx devices.

Removed double spinlocking with omap15xx devices. Thanks for the Jian Zhang for reporting this one.

Quoted 1 line

From cc97975a2fad87878c9a1a2885b9c831df0c239a Mon Sep 17 00:00:00 2001

From: Mika Laitio <[email protected]>
Date: Fri, 18 Aug 2006 01:56:59 +0300
Subject: [PATCH 2/5] removed double spinlocking with omap15xx devices.

Removed double spinlocking with omap15xx devices. Thanks for the Jian Zhang for reporting this one.

---
 sound/arm/omap/omap-alsa.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
sound/arm/omap/omap-alsa.c +0 -3
index 583460c..b74202f 100644
@@ -190,7 +190,6 @@ static void audio_process_dma(struct aud
 	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 aud
 		 * (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,
Signature · 1 line
1.4.2