projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b92d150
)
ASoC: Allow register defaults to be larger than unsigned short
author
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Wed, 24 Aug 2011 18:12:49 +0000
(19:12 +0100)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Wed, 31 Aug 2011 08:51:50 +0000
(09:51 +0100)
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>
include/sound/soc.h
patch
|
blob
|
history
diff --git
a/include/sound/soc.h
b/include/sound/soc.h
index 6da55a17fcfd4a208323b067e903f35d4a2c363e..0fc8f15f1acaf48cc66b079f051f7ec90a31736d 100644
(file)
--- 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);
-
shor
t reg_cache_size;
+
unsigned in
t reg_cache_size;
short reg_cache_step;
short reg_word_size;
const void *reg_cache_default;