]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/sound/soc.h
ALSA: ASoC: Allow codecs to override register display
[linux-2.6-omap-h63xx.git] / include / sound / soc.h
index 1890d87c52042adc4d375953195a350d20e198ea..2ce530efcf116b94f88f070957dbb627ffab32c3 100644 (file)
@@ -410,6 +410,8 @@ struct snd_soc_codec {
        void *control_data; /* codec control (i2c/3wire) data */
        unsigned int (*read)(struct snd_soc_codec *, unsigned int);
        int (*write)(struct snd_soc_codec *, unsigned int, unsigned int);
+       int (*display_register)(struct snd_soc_codec *, char *,
+                               size_t, unsigned int);
        hw_write_t hw_write;
        hw_read_t hw_read;
        void *reg_cache;