summaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2009-07-31 18:26:51 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-07-31 18:54:48 +0100
commit77ee09c67e051a5ebd19a53ba3945dbdc8d21b3c (patch)
tree4fa007a15bbdf43cd4bfae2bfbc44272faaf656b /include/sound
parenta1daf67d721adfecc298132550bc2967c67f764f (diff)
downloadlwn-77ee09c67e051a5ebd19a53ba3945dbdc8d21b3c.tar.gz
lwn-77ee09c67e051a5ebd19a53ba3945dbdc8d21b3c.zip
ASoC: Allow CODECs to flag invalid registers
This helps CODECs with sparse register maps work better with the register cache display interface. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/soc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 756fb59772d1..55b330937260 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -385,6 +385,7 @@ struct snd_soc_codec {
int (*display_register)(struct snd_soc_codec *, char *,
size_t, unsigned int);
int (*volatile_register)(unsigned int);
+ int (*readable_register)(unsigned int);
hw_write_t hw_write;
hw_read_t hw_read;
void *reg_cache;