diff options
author | Subhransu S. Prusty <subhransu.s.prusty@intel.com> | 2016-06-27 09:18:03 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-07-05 16:56:41 +0200 |
commit | a5d5639f812f24f10c7affaf0d537c204fdea986 (patch) | |
tree | 85dc805140bfce3ae9ac4a14c23c2e6922c738cd /include/sound | |
parent | 1a695a905c18548062509178b98bc91e67510864 (diff) | |
download | linux-stable-a5d5639f812f24f10c7affaf0d537c204fdea986.tar.gz linux-stable-a5d5639f812f24f10c7affaf0d537c204fdea986.tar.bz2 linux-stable-a5d5639f812f24f10c7affaf0d537c204fdea986.zip |
ASoC: dapm: Export snd_soc_dapm_new_control
This is useful outside the core, when one dapm element is added
at a time.
Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/soc-dapm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h index 3101d53468aa..0efeb38ae059 100644 --- a/include/sound/soc-dapm.h +++ b/include/sound/soc-dapm.h @@ -382,6 +382,9 @@ int snd_soc_dapm_put_pin_switch(struct snd_kcontrol *kcontrol, int snd_soc_dapm_new_controls(struct snd_soc_dapm_context *dapm, const struct snd_soc_dapm_widget *widget, int num); +struct snd_soc_dapm_widget *snd_soc_dapm_new_control( + struct snd_soc_dapm_context *dapm, + const struct snd_soc_dapm_widget *widget); int snd_soc_dapm_new_dai_widgets(struct snd_soc_dapm_context *dapm, struct snd_soc_dai *dai); int snd_soc_dapm_link_dai_widgets(struct snd_soc_card *card); |