diff options
author | Subhransu S. Prusty <subhransu.s.prusty@intel.com> | 2016-06-26 23:48:03 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-07-05 10:56:41 -0400 |
commit | a5d5639f812f24f10c7affaf0d537c204fdea986 (patch) | |
tree | 85dc805140bfce3ae9ac4a14c23c2e6922c738cd /include/sound | |
parent | 1a695a905c18548062509178b98bc91e67510864 (diff) |
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, | |||
382 | int snd_soc_dapm_new_controls(struct snd_soc_dapm_context *dapm, | 382 | int snd_soc_dapm_new_controls(struct snd_soc_dapm_context *dapm, |
383 | const struct snd_soc_dapm_widget *widget, | 383 | const struct snd_soc_dapm_widget *widget, |
384 | int num); | 384 | int num); |
385 | struct snd_soc_dapm_widget *snd_soc_dapm_new_control( | ||
386 | struct snd_soc_dapm_context *dapm, | ||
387 | const struct snd_soc_dapm_widget *widget); | ||
385 | int snd_soc_dapm_new_dai_widgets(struct snd_soc_dapm_context *dapm, | 388 | int snd_soc_dapm_new_dai_widgets(struct snd_soc_dapm_context *dapm, |
386 | struct snd_soc_dai *dai); | 389 | struct snd_soc_dai *dai); |
387 | int snd_soc_dapm_link_dai_widgets(struct snd_soc_card *card); | 390 | int snd_soc_dapm_link_dai_widgets(struct snd_soc_card *card); |