]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc-core: soc_find_component() uses snd_soc_is_matching_component()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 20 Jun 2019 00:49:23 +0000 (09:49 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 24 Jun 2019 16:23:19 +0000 (17:23 +0100)
commit125a0577b7267e889e55902821c842d93d76eb84
tree34af5a3d41dd2a7405dbd3eb807069b830a7fdbb
parent48c59f48ba5dfa38bdb731ee5eeda9fa731baf7e
ASoC: soc-core: soc_find_component() uses snd_soc_is_matching_component()

ALSA SoC already has snd_soc_is_matching_component() to confirming
matching component, but, soc_find_component() has original
implementation to confirm component.

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

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