ASoC: topology: Add FE DAI links dynamically
authorMengdong Lin <mengdong.lin@linux.intel.com>
Fri, 15 Jan 2016 08:13:37 +0000 (16:13 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 15 Feb 2016 19:38:19 +0000 (19:38 +0000)
commitacfc7d46cddcf71cf18772bbe8717b84eac5f672
tree7ed01825b54581695daa640c56a156b32fc054e5
parent64527e8a352968bda529f01df1c9dd5fe581ff04
ASoC: topology: Add FE DAI links dynamically

Topology will also create FE DAI links dynamically from the PCM
objects. These links will be removed when the component is removed
and its topology info is unloaded.

The component driver can implement link_load/unload ops for extra
intialization (e.g. error check) and destruction.

Signed-off-by: Mengdong Lin <mengdong.lin@linux.intel.com>
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-topology.h
sound/soc/soc-topology.c