diff options
Diffstat (limited to 'sound/soc/soc-io.c')
-rw-r--r-- | sound/soc/soc-io.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/sound/soc/soc-io.c b/sound/soc/soc-io.c index ac64fd7252b2..2ead9edd0d63 100644 --- a/sound/soc/soc-io.c +++ b/sound/soc/soc-io.c | |||
@@ -241,26 +241,6 @@ int snd_soc_update_bits(struct snd_soc_codec *codec, unsigned int reg, | |||
241 | EXPORT_SYMBOL_GPL(snd_soc_update_bits); | 241 | EXPORT_SYMBOL_GPL(snd_soc_update_bits); |
242 | 242 | ||
243 | /** | 243 | /** |
244 | * snd_soc_update_bits_locked - update codec register bits | ||
245 | * @codec: audio codec | ||
246 | * @reg: codec register | ||
247 | * @mask: register mask | ||
248 | * @value: new value | ||
249 | * | ||
250 | * Writes new register value, and takes the codec mutex. | ||
251 | * | ||
252 | * Returns 1 for change else 0. | ||
253 | */ | ||
254 | int snd_soc_update_bits_locked(struct snd_soc_codec *codec, | ||
255 | unsigned int reg, unsigned int mask, | ||
256 | unsigned int value) | ||
257 | { | ||
258 | return snd_soc_component_update_bits(&codec->component, reg, mask, | ||
259 | value); | ||
260 | } | ||
261 | EXPORT_SYMBOL_GPL(snd_soc_update_bits_locked); | ||
262 | |||
263 | /** | ||
264 | * snd_soc_test_bits - test register for change | 244 | * snd_soc_test_bits - test register for change |
265 | * @codec: audio codec | 245 | * @codec: audio codec |
266 | * @reg: codec register | 246 | * @reg: codec register |