* [PATCH 2/5] Removed double spinlocking with omap15xx devices.
@ 2006-08-18 1:15 lamikr
0 siblings, 0 replies; only message in thread
From: lamikr @ 2006-08-18 1:15 UTC (permalink / raw)
To: OMAP-Linux
[-- Attachment #1: Type: text/plain, Size: 149 bytes --]
Removed double spinlocking with omap15xx devices. Thanks for the Jian
Zhang for reporting this one.
Signed-off-by: Mika Laitio <lamikr@cc.jyu.fi>
[-- Attachment #2: 0002-removed-double-spinlocking-with-omap15xx-devices.patch --]
[-- Type: text/x-patch, Size: 1197 bytes --]
>From cc97975a2fad87878c9a1a2885b9c831df0c239a Mon Sep 17 00:00:00 2001
From: Mika Laitio <lamikr@cc.jyu.fi>
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.
Signed-off-by: Mika Laitio <lamikr@cc.jyu.fi>
---
sound/arm/omap/omap-alsa.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/sound/arm/omap/omap-alsa.c b/sound/arm/omap/omap-alsa.c
index 583460c..b74202f 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 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,
--
1.4.2
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2006-08-18 1:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-18 1:15 [PATCH 2/5] Removed double spinlocking with omap15xx devices lamikr
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.