summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLiam Girdwood <lrg@slimlogic.co.uk>2010-08-05 19:39:17 +0100
committerBryan Wu <bryan.wu@canonical.com>2010-08-26 21:43:44 +0800
commit11cdd9c9f31c1f3bc3a41eb221bce142d7d86bee (patch)
tree93d1b64dce60e9902e1454b896ec5b1eec75e67c /include
parent39a6a87b728b8a0ff3c04a2d39028fa1c1ffd445 (diff)
ASoC: DAPM - export mixer and mux update as GPL symbols
Export the mixer and mux DAPM update API calls so we can support external DAPM Mux and Mixer widgets on platform and machines. Signed-off-by: Margarita Olaya Cabrera <magi.olaya@ti.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/sound/soc-dapm.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h
index e6d3dbf73c8b..d5bf72b76a07 100644
--- a/include/sound/soc-dapm.h
+++ b/include/sound/soc-dapm.h
@@ -337,6 +337,13 @@ int snd_soc_dapm_stream_event(struct snd_soc_pcm_runtime *rtd,
const char *stream, int event);
void snd_soc_dapm_shutdown(struct snd_soc_card *card);
+/* external DAPM widget events */
+int snd_soc_dapm_mixer_update_power(struct snd_soc_dapm_widget *widget,
+ struct snd_kcontrol *kcontrol, int connect);
+int snd_soc_dapm_mux_update_power(struct snd_soc_dapm_widget *widget,
+ struct snd_kcontrol *kcontrol, int change,
+ int mux, struct soc_enum *e);
+
/* dapm sys fs - used by the core */
int snd_soc_dapm_sys_add(struct device *dev);
void snd_soc_dapm_debugfs_init(struct snd_soc_dapm_context *dapm);