ALSA: convert PM ops of platform_driver to new pm ops
[linux-3.10.git] / sound / arm / aaci.h
index 6a4a2ee..5791bd5 100644 (file)
@@ -210,6 +210,8 @@ struct aaci_runtime {
        u32                     cr;
        struct snd_pcm_substream        *substream;
 
+       unsigned int            period; /* byte size of a "period" */
+
        /*
         * PIO support
         */
@@ -217,15 +219,16 @@ struct aaci_runtime {
        void                    *end;
        void                    *ptr;
        int                     bytes;
-       unsigned int            period;
-       unsigned int            fifosz;
+       unsigned int            fifo_bytes;
 };
 
 struct aaci {
        struct amba_device      *dev;
        struct snd_card         *card;
        void                    __iomem *base;
-       unsigned int            fifosize;
+       unsigned int            fifo_depth;
+       unsigned int            users;
+       struct mutex            irq_lock;
 
        /* AC'97 */
        struct mutex            ac97_sem;