diff options
author | Mark Brown <broonie@kernel.org> | 2016-07-24 17:07:22 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-07-24 17:07:22 -0400 |
commit | 0d911262808d07af538c23b1b6d249b3a4a9a431 (patch) | |
tree | 8fcba6f2d3ca81438c84f3deb85888b5796521f4 | |
parent | 9b876c99d33eb5ac4148d9c3ef5042955dac57c3 (diff) | |
parent | a5d5639f812f24f10c7affaf0d537c204fdea986 (diff) |
Merge remote-tracking branch 'asoc/topic/dapm' into asoc-next
-rw-r--r-- | include/sound/soc-dapm.h | 3 | ||||
-rw-r--r-- | sound/soc/soc-dapm.c | 1 |
2 files changed, 4 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); |
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index c4464858bf01..cc8f480251e7 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c | |||
@@ -3282,6 +3282,7 @@ snd_soc_dapm_new_control(struct snd_soc_dapm_context *dapm, | |||
3282 | mutex_unlock(&dapm->card->dapm_mutex); | 3282 | mutex_unlock(&dapm->card->dapm_mutex); |
3283 | return w; | 3283 | return w; |
3284 | } | 3284 | } |
3285 | EXPORT_SYMBOL_GPL(snd_soc_dapm_new_control); | ||
3285 | 3286 | ||
3286 | struct snd_soc_dapm_widget * | 3287 | struct snd_soc_dapm_widget * |
3287 | snd_soc_dapm_new_control_unlocked(struct snd_soc_dapm_context *dapm, | 3288 | snd_soc_dapm_new_control_unlocked(struct snd_soc_dapm_context *dapm, |