ASoC: topology: Give more data to clients via callbacks
authorLiam Girdwood <liam.r.girdwood@linux.intel.com>
Tue, 27 Mar 2018 13:30:42 +0000 (14:30 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 17 Apr 2018 17:07:28 +0000 (18:07 +0100)
commit81e9b0a078894841a50a8dd666fd64ca452a2a50
tree0a52ae1223a5c5f6d32b42118c9522add9dfa9cd
parentf11a5c27f9287cacad74af31cd92d4413eccc05a
ASoC: topology: Give more data to clients via callbacks

Give topology clients more access to the topology data by passing index,
pcm, link_config and dai_driver to clients. This allows clients to fully
instantiate and track topology objects.

The SOF driver is the first user of these new APIs and needs them to build
component topology driver and FW objects.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-topology.h
sound/soc/intel/skylake/skl-pcm.c
sound/soc/intel/skylake/skl-topology.c
sound/soc/intel/skylake/skl-topology.h
sound/soc/soc-topology.c