]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Implement DAI links in a list & define API to add/remove a link
authorMengdong Lin <mengdong.lin@linux.intel.com>
Wed, 2 Dec 2015 06:11:22 +0000 (14:11 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 8 Dec 2015 18:05:09 +0000 (18:05 +0000)
commit298e10558801036c1bb2a08249fde1d2037aff5c
tree54806e1eff53dc701d9258ee204d04c67bd31177
parent3fcbd5e538d6e12c456dd2e6e7c6b4294297eafc
ASoC: Implement DAI links in a list & define API to add/remove a link

Implement a dai link list for the soc card.

Add APIs to add/remove a DAI links dynamically, e.g. by topology.

And a dobj is embedded into the struct snd_soc_dai_link. Topology can
use the dobj to find the links created by it and remove them when the
topology component is unloaded.

The predefined DAI links are reserved to keep backward compatibility.
And they will also be added to the list.

Signed-off-by: Mengdong Lin <mengdong.lin@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h
sound/soc/soc-core.c