From: lamikr <lamikr@cc.jyu.fi>
To: OMAP-Linux <linux-omap-open-source@linux.omap.com>
Subject: [PATCH 2/5] Removed double spinlocking with omap15xx devices.
Date: Fri, 18 Aug 2006 04:15:03 +0300 [thread overview]
Message-ID: <44E51497.3020600@cc.jyu.fi> (raw)
[-- 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 --]
reply other threads:[~2006-08-18 1:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44E51497.3020600@cc.jyu.fi \
--to=lamikr@cc.jyu.fi \
--cc=linux-omap-open-source@linux.omap.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox