aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2009-07-31 13:26:51 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-07-31 13:54:48 -0400
commit77ee09c67e051a5ebd19a53ba3945dbdc8d21b3c (patch)
tree4fa007a15bbdf43cd4bfae2bfbc44272faaf656b /include/sound
parenta1daf67d721adfecc298132550bc2967c67f764f (diff)
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 {
385 int (*display_register)(struct snd_soc_codec *, char *, 385 int (*display_register)(struct snd_soc_codec *, char *,
386 size_t, unsigned int); 386 size_t, unsigned int);
387 int (*volatile_register)(unsigned int); 387 int (*volatile_register)(unsigned int);
388 int (*readable_register)(unsigned int);
388 hw_write_t hw_write; 389 hw_write_t hw_write;
389 hw_read_t hw_read; 390 hw_read_t hw_read;
390 void *reg_cache; 391 void *reg_cache;