[alsa-devel] [PATCH 0/3] ASoC: Implement DAI links in a list & some code refactoring
mengdong.lin at linux.intel.com
mengdong.lin at linux.intel.com
Mon Nov 23 16:59:03 CET 2015
From: Mengdong Lin <mengdong.lin at linux.intel.com>
This is still a preparation for topology to create PCM at dynamically.
First two patches are code refactoring.
The 3rd patch implements the DAI links into a list, so that the number of
links can add/shrink by topology at runtime.
The use scenario may be like this:
- When instantiating the soc card, probing a component with topology can
bring new DAI links. The ASoC will probe the new links (in later patches).
- When unregistering the soc card, removing this component will also remove
DAI links created by it.
For backward compatiblity, the machine driver can still define a static link
array. And the ASoC core will add these links into the list when instantiating
the soc card.
Mengdong Lin (3):
ASoC: Define soc_init_dai_link() to wrap link intialization.
ASoC: Change 2nd argument of soc_bind_dai_link() to DAI link pointer
ASoC: Implement DAI links in a list & define API to add/remove a link
include/sound/soc.h | 15 ++-
sound/soc/soc-core.c | 251 +++++++++++++++++++++++++++++++++------------------
2 files changed, 177 insertions(+), 89 deletions(-)
--
2.5.0
More information about the Alsa-devel
mailing list