diff options
author | Daniel Ribeiro <drwyrm@gmail.com> | 2009-06-07 02:49:11 -0300 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-06-08 10:53:12 +0100 |
commit | 46f5822f7841697d4aedaf4672661d7a765172cd (patch) | |
tree | 3812a50996393f069ea22329562d3ae53b78d590 /include/sound/soc.h | |
parent | 74b8f955a73d20b1e22403fd1ef85834fbf38d98 (diff) | |
download | lwn-46f5822f7841697d4aedaf4672661d7a765172cd.tar.gz lwn-46f5822f7841697d4aedaf4672661d7a765172cd.zip |
ASoC: Allow 32 bit registers for DAPM
Replace the remaining unsigned shorts with unsigned ints.
Tested with pcap2 codec (25 bits registers).
Signed-off-by: Daniel Ribeiro <drwyrm@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound/soc.h')
-rw-r--r-- | include/sound/soc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index cf6111d72b17..a167b4930447 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -216,9 +216,9 @@ void snd_soc_jack_free_gpios(struct snd_soc_jack *jack, int count, /* codec register bit access */ int snd_soc_update_bits(struct snd_soc_codec *codec, unsigned short reg, - unsigned short mask, unsigned short value); + unsigned int mask, unsigned int value); int snd_soc_test_bits(struct snd_soc_codec *codec, unsigned short reg, - unsigned short mask, unsigned short value); + unsigned int mask, unsigned int value); int snd_soc_new_ac97_codec(struct snd_soc_codec *codec, struct snd_ac97_bus_ops *ops, int num); |