aboutsummaryrefslogtreecommitdiffstats
path: root/sound/arm/aaci.h
diff options
context:
space:
mode:
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;