ASoC: Implement DAI links in a list & some code refactoring
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ASoC: Define soc_init_dai_link() to wrap link intialization.sound/ | +98 | 0 replies | |
| 2/3 | ASoC: Change 2nd argument of soc_bind_dai_link() to DAI link pointersound/ | +4 | 0 replies | |
| 3/3 | ASoC: Implement DAI links in a list & define API to add/remove a linkinclude/ sound/ | +75 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] ASoC: Implement DAI links in a list & some code refactoring
From: Mengdong Lin <[email protected]>
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(-)
Signature · 1 line
2.5.0