From: Mark Brown Date: Wed, 24 Aug 2011 18:12:49 +0000 (+0100) Subject: ASoC: Allow register defaults to be larger than unsigned short X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4a8923ba99f559b078cf584f7caad901ada0e5be;p=linux-beck.git 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 --- 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;