ASoC: soc-core: self contained soc_probe_link_components()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 4 Sep 2019 00:14:46 +0000 (09:14 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 9 Sep 2019 10:01:45 +0000 (11:01 +0100)
commit62f07a6b6dbaf0e7196b6911111d4666b5d03518
tree630e3104abbdece9fd5b53dedb260c4ea228083f
parent13ab0d1ab8ae4d1b3b247fd5caec2c10e35c7269
ASoC: soc-core: self contained soc_probe_link_components()

Current soc_probe_link_components() implementation is very half,
thus it is very difficult to read.

for_each_comp_order(xxx) {
for_each_card_rtds(xxx) {
=> ret = soc_probe_link_components(xxx);
...
}
}

This patch does all for_each_xxx() under soc_probe_link_components(),
and makes it to self contained.

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