summaryrefslogtreecommitdiffstats
path: root/include/sound/soc-dapm.h
diff options
context:
space:
mode:
authorLiam Girdwood <lrg@ti.com>2012-03-07 17:32:59 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-01 12:28:22 +0200
commitd9b0951b96e4ee0d22fae0a30f0b53354ca541cd (patch)
treee6419322fa31dc3700ec5dbb69985b0be821ddde /include/sound/soc-dapm.h
parentASoC: core: Add platform DAI widget mapping (diff)
downloadlinux-d9b0951b96e4ee0d22fae0a30f0b53354ca541cd.tar.xz
linux-d9b0951b96e4ee0d22fae0a30f0b53354ca541cd.zip
ASoC: dapm: Add platform stream event support
Currently stream events are only perfomed on codec stream widgets only. There is now a need to be able to perform stream events on platform widgets too. e.g. we have the ABE platform driver with several DAI links to dummy codecs. We need to be able to perform stream events on any of the dummy codec DAI links. This patch also removes the snd_soc_dai * parameter since it's already contained within the rtd * parameter. Finally makle stream event return void since no one checks it anyway. Signed-off-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound/soc-dapm.h')
-rw-r--r--include/sound/soc-dapm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h
index 055242e69dc3..6c64dbeb28ba 100644
--- a/include/sound/soc-dapm.h
+++ b/include/sound/soc-dapm.h
@@ -369,8 +369,8 @@ int snd_soc_dapm_weak_routes(struct snd_soc_dapm_context *dapm,
const struct snd_soc_dapm_route *route, int num);
/* dapm events */
-int snd_soc_dapm_stream_event(struct snd_soc_pcm_runtime *rtd, int stream,
- struct snd_soc_dai *dai, int event);
+void snd_soc_dapm_stream_event(struct snd_soc_pcm_runtime *rtd, int stream,
+ int event);
void snd_soc_dapm_shutdown(struct snd_soc_card *card);
/* external DAPM widget events */