ASoC: soc-core: don't use codec_dais on soc_bind_dai_link()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 13 May 2019 07:06:30 +0000 (16:06 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 13 May 2019 11:44:02 +0000 (12:44 +0100)
commit0a2cfcd998e3503c20be497cadb0ef23edb984be
tree69192935258915c2dbb55e7ae092220491b446a6
parent22d251a5964780452aed378a143816fbf2d4201d
ASoC: soc-core: don't use codec_dais on soc_bind_dai_link()

Current soc_bind_dai_link() is substituting rtd->codec_dais to
codec_dais, and sets found DAI into it.
But, it is a little bit un-readable / un-understandable to
know detail of rtd, and it will make difficult to understand
rtd->cpu_dais if Multi CPU was supported.
This patch cleanup it and prepare for Multi CPU support.

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