ASoC: dapm: Add API call to query valid DAPM paths
authorLiam Girdwood <lrg@ti.com>
Wed, 18 Apr 2012 10:41:11 +0000 (11:41 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 18 Apr 2012 17:23:00 +0000 (18:23 +0100)
commitec2e3031b65f23f66840b5c89c4b83076831a435
treeb85d6a5590fc0eaa3a5e7ca1a67e97b673629e65
parent0cbe4b36b075e80f3149a91ef640bc7930aa94c7
ASoC: dapm: Add API call to query valid DAPM paths

In preparation for ASoC DSP support.

Add a DAPM API call to determine whether a DAPM audio path is valid between
source and sink widgets. This also takes into account all kcontrol mux and mixer
settings in between the source and sink widgets to validate the audio path.

This will be used by the DSP core to determine the runtime DAI mappings
between FE and BE DAIs in order to run PCM operations.

Signed-off-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/sound/soc-dapm.h
include/trace/events/asoc.h
sound/soc/soc-dapm.c