summaryrefslogtreecommitdiffstats
path: root/sound/arm/aaci.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2009-12-18 18:48:50 +0100
committerTakashi Iwai <tiwai@suse.de>2009-12-18 20:31:13 +0100
commitd6a89fefa50feda5516cd5210ad0008a44632b52 (patch)
tree58d21a68c34ad2d85b1f3fc3b7eb3bc1c3009a89 /sound/arm/aaci.h
parentALSA: AACI: add double-rate support (diff)
downloadlinux-d6a89fefa50feda5516cd5210ad0008a44632b52.tar.xz
linux-d6a89fefa50feda5516cd5210ad0008a44632b52.zip
ALSA: AACI: switch to per-pcm locking
We can use finer-grained locking, which makes things easier when we gain DMA support. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to '')
-rw-r--r--sound/arm/aaci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/arm/aaci.h b/sound/arm/aaci.h
index 924f69c1c44c..6a4a2eebdda1 100644
--- a/sound/arm/aaci.h
+++ b/sound/arm/aaci.h
@@ -202,6 +202,7 @@
struct aaci_runtime {
void __iomem *base;
void __iomem *fifo;
+ spinlock_t lock;
struct ac97_pcm *pcm;
int pcm_open;
@@ -232,7 +233,6 @@ struct aaci {
struct snd_ac97 *ac97;
u32 maincr;
- spinlock_t lock;
struct aaci_runtime playback;
struct aaci_runtime capture;