]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2383841551c238db2023573f6d3ab3be4a0fb9e6
treed76722c3f70e4a6ef2cce5ff619a1b8755ddd6a9
parent506f1a180d81fad1fa1eaf2adbf67a113d07964a
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