summaryrefslogtreecommitdiffstats
path: root/include/sound/soc.h
diff options
context:
space:
mode:
authorMark Brown2011-08-24 20:12:49 +0200
committerMark Brown2011-08-31 10:51:50 +0200
commit4a8923ba99f559b078cf584f7caad901ada0e5be (patch)
treeee5b0029658e2027ff16e3e29ab3438e746b846c /include/sound/soc.h
parentASoC: soc_codec_reg_show use snd_soc_codec_readable_register (diff)
downloadkernel-qcow2-linux-4a8923ba99f559b078cf584f7caad901ada0e5be.tar.gz
kernel-qcow2-linux-4a8923ba99f559b078cf584f7caad901ada0e5be.tar.xz
kernel-qcow2-linux-4a8923ba99f559b078cf584f7caad901ada0e5be.zip
ASoC: Allow register defaults to be larger than unsigned short
Devices that need this exist; obviously the newer regmap defaults mechanism will deal with this more happily. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound/soc.h')
-rw-r--r--include/sound/soc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 6da55a17fcfd..0fc8f15f1aca 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -622,7 +622,7 @@ struct snd_soc_codec_driver {
int (*volatile_register)(struct snd_soc_codec *, unsigned int);
int (*readable_register)(struct snd_soc_codec *, unsigned int);
int (*writable_register)(struct snd_soc_codec *, unsigned int);
- short reg_cache_size;
+ unsigned int reg_cache_size;
short reg_cache_step;
short reg_word_size;
const void *reg_cache_default;