OSDN Git Service

ASoC: soc-core: create rtd->codec_dais first
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 12 Sep 2019 04:39:32 +0000 (13:39 +0900)
committerMark Brown <broonie@kernel.org>
Tue, 1 Oct 2019 11:12:15 +0000 (12:12 +0100)
commit929deb849b9e4319015070ead7ca976a4f16e303
treec23b3f849dd90d139745bc3ac90259bb4b74e9d4
parent753ace0a34fbd39ac2ec654c6859823db420f69e
ASoC: soc-core: create rtd->codec_dais first

soc_new_pcm_runtime() allocs rtd and rtd->codec_dais.
This patch allocs both first, and setup these after that.
This is prepare for soc_new_pcm_runtime() cleanup.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87blvqf7qz.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-core.c