diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-12-04 14:22:03 (GMT) |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-12-04 16:07:06 (GMT) |
commit | dd1b3d53c2e5b9cccec9001fc0b63f6b686a4ac9 (patch) | |
tree | 6a1f9e150fb2d7fbf69326b50e05b44801e3deb7 /include/sound | |
parent | 3a7aaed714bbe3c071000d720f0cce186d1897a4 (diff) | |
download | linux-fsl-qoriq-dd1b3d53c2e5b9cccec9001fc0b63f6b686a4ac9.tar.xz |
ASoC: Export snd_soc_update_bits_unlocked()
Allows custom controls to use it.
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index 0d7718f..08909cc 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -253,6 +253,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 int mask, unsigned int value); +int snd_soc_update_bits_locked(struct snd_soc_codec *codec, + unsigned short reg, unsigned int mask, + unsigned int value); int snd_soc_test_bits(struct snd_soc_codec *codec, unsigned short reg, unsigned int mask, unsigned int value); |