ASoC: dapm: Supply the DAI and substream when calling stream events
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 16 Feb 2012 23:03:27 +0000 (15:03 -0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 17 Feb 2012 16:10:01 +0000 (08:10 -0800)
commit7bd3a6f34cdd4b1776ca34d0b6fab216e9323759
treed76722c3f70e4a6ef2cce5ff619a1b8755ddd6a9
parent5ba06fc969d068dee9a59f1fa3dbe58e235fa913
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>
include/sound/soc-dapm.h
sound/soc/soc-core.c
sound/soc/soc-dapm.c
sound/soc/soc-pcm.c