diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-12-18 17:48:50 +0000 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-12-18 20:31:13 +0100 |
commit | d6a89fefa50feda5516cd5210ad0008a44632b52 (patch) | |
tree | 58d21a68c34ad2d85b1f3fc3b7eb3bc1c3009a89 /sound/arm/aaci.h | |
parent | a08d56583f6b87e2981d1b6e9ee891bdc741cc44 (diff) | |
download | linux-d6a89fefa50feda5516cd5210ad0008a44632b52.tar.bz2 |
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 'sound/arm/aaci.h')
-rw-r--r-- | sound/arm/aaci.h | 2 |
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; |