summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMisael Lopez Cruz <misael.lopez@ti.com>2011-12-02 10:00:20 +0800
committerSebastien Jan <s-jan@ti.com>2011-12-05 11:20:33 +0100
commit529b84c72677db1f7f79a2c0f6a376d58aaac35c (patch)
treed1d3d828a27536a2e7a1480f17ad860266e5d088 /include
parent4a8929b458c26a92c66dd71850fd0532b8b3682c (diff)
ASoC: dapm: Add codec/platform DAPM stream event
Allow CODEC and platform drivers to send stream events to DAPM core. Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Diffstat (limited to 'include')
-rw-r--r--include/sound/soc-dapm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h
index 126fe4bca87c..76a5df237fb1 100644
--- a/include/sound/soc-dapm.h
+++ b/include/sound/soc-dapm.h
@@ -365,6 +365,8 @@ int snd_soc_dapm_weak_routes(struct snd_soc_dapm_context *dapm,
const struct snd_soc_dapm_route *route, int num);
/* dapm events */
+void snd_soc_dapm_codec_stream_event(struct snd_soc_codec *codec,
+ const char *stream, int event);
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);