alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] ASoC: Implement DAI links in a list & some code refactoring
@ 2015-11-23 15:59 mengdong.lin
  2015-11-23 16:01 ` [PATCH 1/3] ASoC: Define soc_init_dai_link() to wrap link intialization mengdong.lin
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: mengdong.lin @ 2015-11-23 15:59 UTC (permalink / raw)
  To: alsa-devel, broonie
  Cc: Mengdong Lin, vinod.koul, mengdong.lin, liam.r.girdwood, jeeja.kp,
	subhransu.s.prusty

From: Mengdong Lin <mengdong.lin@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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-12-01 15:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-23 15:59 [PATCH 0/3] ASoC: Implement DAI links in a list & some code refactoring mengdong.lin
2015-11-23 16:01 ` [PATCH 1/3] ASoC: Define soc_init_dai_link() to wrap link intialization mengdong.lin
2015-11-23 16:03 ` [PATCH 2/3] ASoC: Change 2nd argument of soc_bind_dai_link() to DAI link pointer mengdong.lin
2015-11-23 16:04 ` [PATCH 3/3] ASoC: Implement DAI links in a list & define API to add/remove a link mengdong.lin
2015-12-01 15:58   ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).