aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-02-16 18:03:27 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-02-17 11:10:01 -0500
commit7bd3a6f34cdd4b1776ca34d0b6fab216e9323759 (patch)
treed76722c3f70e4a6ef2cce5ff619a1b8755ddd6a9 /include/sound
parent5ba06fc969d068dee9a59f1fa3dbe58e235fa913 (diff)
ASoC: dapm: Supply the DAI and substream when calling stream events
In order to allow us to do something smarter than iterate through widgets doing strcmp() to work out what to power up for stream events change the interface used to generate them to be based on the combination of a DAI and a stream direction rather than just a simple string identifying the stream. At some point we'll probably want a set of channels too. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'include/sound')
-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 c28d20b4566..c32c52167b5 100644
--- a/include/sound/soc-dapm.h
+++ b/include/sound/soc-dapm.h
@@ -365,8 +365,8 @@ int snd_soc_dapm_weak_routes(struct snd_soc_dapm_context *dapm,
365 const struct snd_soc_dapm_route *route, int num); 365 const struct snd_soc_dapm_route *route, int num);
366 366
367/* dapm events */ 367/* dapm events */
368int snd_soc_dapm_stream_event(struct snd_soc_pcm_runtime *rtd, 368int snd_soc_dapm_stream_event(struct snd_soc_pcm_runtime *rtd, int stream,
369 const char *stream, int event); 369 struct snd_soc_dai *dai, int event);
370void snd_soc_dapm_shutdown(struct snd_soc_card *card); 370void snd_soc_dapm_shutdown(struct snd_soc_card *card);
371 371
372/* external DAPM widget events */ 372/* external DAPM widget events */