diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-01-24 14:05:25 +0000 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-01-25 14:14:31 +0000 |
commit | 181e055e6bed80afbf8ba2bb5e3ce84fbd3f633c (patch) | |
tree | 44aa6d4b6df78a39fd937f6ae25b8e7a269293a7 /sound | |
parent | 86c3304181a25f127e46c864dc735e21f24484fc (diff) | |
download | linux-181e055e6bed80afbf8ba2bb5e3ce84fbd3f633c.tar.bz2 |
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 'sound')
-rw-r--r-- | sound/soc/soc-core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index b0e7689159c1..14861f95f629 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -2029,7 +2029,8 @@ static int soc_new_pcm(struct snd_soc_pcm_runtime *rtd, int num) * * Boolean function indiciating if a CODEC register is volatile. */ -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) { if (codec->volatile_register) return codec->volatile_register(codec, reg); |