ASoC: dapm: Add platform stream event support
authorLiam Girdwood <lrg@ti.com>
Wed, 7 Mar 2012 16:32:59 +0000 (16:32 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 1 Apr 2012 10:28:22 +0000 (11:28 +0100)
commitd9b0951b96e4ee0d22fae0a30f0b53354ca541cd
treee6419322fa31dc3700ec5dbb69985b0be821ddde
parentbe09ad90e17b79fdb0d513a31e814ff4d42e3dff
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>
include/sound/soc-dapm.h
sound/soc/soc-core.c
sound/soc/soc-dapm.c
sound/soc/soc-pcm.c