ASoC: simple-card: dai_link->init should be cared when multi DAI
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 28 Aug 2014 03:08:27 +0000 (20:08 -0700)
committerMark Brown <broonie@kernel.org>
Fri, 29 Aug 2014 11:51:02 +0000 (12:51 +0100)
commita5960bd5984c808cdf7aa528e162e9e20e61b923
treed17376cb6528ce4c86823e71f70d3abed441aa9b
parent179949bc04c7157a4b2279f62a842638b61f78f9
ASoC: simple-card: dai_link->init should be cared when multi DAI

6a91a17bd7b92b2d2aa9ece85457f52a62fd7708
(ASoC: simple-card: Handle many DAI links)
added multi DAI support on simple-card.
This means priv->dai_link might be pointer of multi DAI.
dai_link->init is needed for all DAI.
This patch cares it for all DAIs on DT/non-DT

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/generic/simple-card.c