]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc-core: self contained soc_probe_link_dais()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 4 Sep 2019 00:15:17 +0000 (09:15 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 9 Sep 2019 10:03:13 +0000 (11:03 +0100)
commit5cd83fdfff81456b37992365b46e60b45da92b79
tree78df710efd7153dabde7b50c2daaf1e3aafb053c
parent14bfbfc5b0d6ed41632c9b71bd6294be1f7a9cfa
ASoC: soc-core: self contained soc_probe_link_dais()

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

for_each_comp_order(xxx) {
for_each_card_rtds(xxx)
=> soc_probe_link_dais(xxx);
}

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

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