ASoC: soc-core: tidyup soc_new_pcm_runtime() alloc order
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 12 Sep 2019 04:42:30 +0000 (13:42 +0900)
committerMark Brown <broonie@kernel.org>
Tue, 1 Oct 2019 11:13:19 +0000 (12:13 +0100)
commitd918a37610b1bf71faa86f589bd7604f71c1e05f
tree03996c3eeea976cc2d4877d9b0f65df2ac3edc3c
parentb7c5bc45ee94a03a0dc45a862180e17db8ea8e9d
ASoC: soc-core: tidyup soc_new_pcm_runtime() alloc order

This patch allocs dev first at soc_new_pcm_runtime().
This is prepare for rtd->dev, rtd->codec_dais alloc cleanup

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