ALSA: AACI: use snd_pcm_lib_period_bytes()
[pandora-kernel.git] / sound / arm / aaci.h
index 04c4568..198750d 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,7 +219,6 @@ struct aaci_runtime {
        void                    *end;
        void                    *ptr;
        int                     bytes;
-       unsigned int            period;
        unsigned int            fifosz;
 };