]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc-core: use soc_find_component() at snd_soc_find_dai()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 20 Jun 2019 00:49:33 +0000 (09:49 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 24 Jun 2019 16:24:03 +0000 (17:24 +0100)
commit9a11f40de525f43a387414bc7e823cb481db7a0b
tree4e3263bff0e8f16542a438ed821eaf0423fdbaf6
parent18889cf4b920bb9271c1b1e61e45c2546b693d2b
ASoC: soc-core: use soc_find_component() at snd_soc_find_dai()

snd_soc_find_dai() finds component first via specified
snd_soc_dai_link_component, and find DAI from it.

We already have soc_find_component() to find component,
but soc_find_dai() has original implementation to find component.

We shouldn't have duplicate implementation to do same things.
This patch uses soc_find_component() at soc_find_dai()

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