aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-01-24 14:05:25 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-01-25 14:14:31 +0000
commit181e055e6bed80afbf8ba2bb5e3ce84fbd3f633c (patch)
tree44aa6d4b6df78a39fd937f6ae25b8e7a269293a7 /include/sound
parentASoC: EDB93xx machine sound driver with CS4271 (diff)
downloadlinux-dev-181e055e6bed80afbf8ba2bb5e3ce84fbd3f633c.tar.xz
linux-dev-181e055e6bed80afbf8ba2bb5e3ce84fbd3f633c.zip
ASoC: Fix type for snd_soc_volatile_register()
We generally refer to registers as unsigned ints (including in the underlying CODEC driver operation). Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/soc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index c184f84a354c..1355ef029d82 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -267,7 +267,8 @@ int snd_soc_register_codec(struct device *dev,
const struct snd_soc_codec_driver *codec_drv,
struct snd_soc_dai_driver *dai_drv, int num_dai);
void snd_soc_unregister_codec(struct device *dev);
-int snd_soc_codec_volatile_register(struct snd_soc_codec *codec, int reg);
+int snd_soc_codec_volatile_register(struct snd_soc_codec *codec,
+ unsigned int reg);
int snd_soc_codec_set_cache_io(struct snd_soc_codec *codec,
int addr_bits, int data_bits,
enum snd_soc_control_type control);