ASoC: Automatically assign the default readable()/volatile() functions
[firefly-linux-kernel-4.4.55.git] / include / sound / soc.h
index 97d1832bb9dfe24973ec7f4ddcf4a89006f950f4..accb8a16c165016f6800df9e2992ef9771d5aa62 100644 (file)
@@ -480,6 +480,8 @@ struct snd_soc_codec {
        int num_dai;
        enum snd_soc_compress_type compress_type;
        size_t reg_size;        /* reg_cache_size * reg_word_size */
+       int (*volatile_register)(struct snd_soc_codec *, unsigned int);
+       int (*readable_register)(struct snd_soc_codec *, unsigned int);
 
        /* runtime */
        struct snd_ac97 *ac97;  /* for ad-hoc ac97 devices */