aboutsummaryrefslogtreecommitdiffstats
path: root/sound/arm/aaci.h
diff options
context:
space:
mode:
authorGlenn Elliott <gelliott@cs.unc.edu>2012-03-04 19:47:13 -0500
committerGlenn Elliott <gelliott@cs.unc.edu>2012-03-04 19:47:13 -0500
commitc71c03bda1e86c9d5198c5d83f712e695c4f2a1e (patch)
treeecb166cb3e2b7e2adb3b5e292245fefd23381ac8 /sound/arm/aaci.h
parentea53c912f8a86a8567697115b6a0d8152beee5c8 (diff)
parent6a00f206debf8a5c8899055726ad127dbeeed098 (diff)
Merge branch 'mpi-master' into wip-k-fmlpwip-k-fmlp
Conflicts: litmus/sched_cedf.c
Diffstat (limited to 'sound/arm/aaci.h')
-rw-r--r--sound/arm/aaci.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/sound/arm/aaci.h b/sound/arm/aaci.h
index 6a4a2eebdda1..5791bd5bd2ab 100644
--- a/sound/arm/aaci.h
+++ b/sound/arm/aaci.h
@@ -210,6 +210,8 @@ struct aaci_runtime {
210 u32 cr; 210 u32 cr;
211 struct snd_pcm_substream *substream; 211 struct snd_pcm_substream *substream;
212 212
213 unsigned int period; /* byte size of a "period" */
214
213 /* 215 /*
214 * PIO support 216 * PIO support
215 */ 217 */
@@ -217,15 +219,16 @@ struct aaci_runtime {
217 void *end; 219 void *end;
218 void *ptr; 220 void *ptr;
219 int bytes; 221 int bytes;
220 unsigned int period; 222 unsigned int fifo_bytes;
221 unsigned int fifosz;
222}; 223};
223 224
224struct aaci { 225struct aaci {
225 struct amba_device *dev; 226 struct amba_device *dev;
226 struct snd_card *card; 227 struct snd_card *card;
227 void __iomem *base; 228 void __iomem *base;
228 unsigned int fifosize; 229 unsigned int fifo_depth;
230 unsigned int users;
231 struct mutex irq_lock;
229 232
230 /* AC'97 */ 233 /* AC'97 */
231 struct mutex ac97_sem; 234 struct mutex ac97_sem;