ASoC: Define soc_init_dai_link() to wrap link intialization.
authorMengdong Lin <mengdong.lin@linux.intel.com>
Mon, 23 Nov 2015 16:01:49 +0000 (11:01 -0500)
committerMark Brown <broonie@kernel.org>
Wed, 25 Nov 2015 17:56:39 +0000 (17:56 +0000)
commit923c5e61ecd9b0ca006a7707583287439f36c2e9
treee2b9608bc00a8ebfea1537e8e15b387b12c49927
parenta29d0f3ef934dd9eb2fbb51eb0f112f48046ee91
ASoC: Define soc_init_dai_link() to wrap link intialization.

Define soc_init_dai_link() to wrap link initialization, to reuse it later
by snd_soc_instantiate_card() when adding new DAI links from topology in
component probing phase.

Move static func snd_soc_init_multicodec(), so that it can be reused by
soc_init_dai_link(). This saves adding a function declaration for
snd_soc_init_multicodec().

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