diff options
author | Tzung-Bi Shih <tzungbi@google.com> | 2020-01-17 08:38:13 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-01-21 18:14:53 +0100 |
commit | 839284e794822ebc8b66f32006a5d4cad863e1fb (patch) | |
tree | 05d488bb5a08fdeab77fde03ef288dcb2355ecb7 /include/sound | |
parent | ASoC: max98090: revert "ASoC: max98090: fix lockdep warning" (diff) | |
download | linux-839284e794822ebc8b66f32006a5d4cad863e1fb.tar.xz linux-839284e794822ebc8b66f32006a5d4cad863e1fb.zip |
ASoC: dapm: add snd_soc_dapm_put_enum_double_locked
Adds snd_soc_dapm_put_enum_double_locked() for those use cases if
dapm_mutex has already locked.
Signed-off-by: Tzung-Bi Shih <tzungbi@google.com>
Link: https://lore.kernel.org/r/20200117073814.82441-3-tzungbi@google.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/soc-dapm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h index 1b6afbc1a4ed..2a306c6f3fbc 100644 --- a/include/sound/soc-dapm.h +++ b/include/sound/soc-dapm.h @@ -392,6 +392,8 @@ int snd_soc_dapm_get_enum_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol); int snd_soc_dapm_put_enum_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol); +int snd_soc_dapm_put_enum_double_locked(struct snd_kcontrol *kcontrol, + struct snd_ctl_elem_value *ucontrol); int snd_soc_dapm_info_pin_switch(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo); int snd_soc_dapm_get_pin_switch(struct snd_kcontrol *kcontrol, |