]> git.karo-electronics.de Git - linux-beck.git/commit
ASoC: topology: Add FE DAIs dynamically
authorMengdong Lin <mengdong.lin@linux.intel.com>
Fri, 15 Jan 2016 08:13:28 +0000 (16:13 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 15 Feb 2016 19:35:59 +0000 (19:35 +0000)
commit64527e8a352968bda529f01df1c9dd5fe581ff04
treeb25e10c3b839f8517bd54374ffddc679b4c9ce24
parent92e963f50fc74041b5e9e744c330dca48e04f08d
ASoC: topology: Add FE DAIs dynamically

Topology will create FE DAIs dynamically from the PCM objects,
and register them to the component.

A PCM topoplogy object describes a FE DAI and DAI link. Later
patch will add FE DAI links as well.

Change tplg load ops for DAI:
- Only process a DAI.
- Pass the DAI driver pointer to the component driver for
  extra initialization.

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
include/sound/soc.h
sound/soc/soc-topology.c