Searched hist:be6ac0a9ced99403c435b2b2fe9ac4bd55749823 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/sound/soc/ |
H A D | soc-core.c | diff be6ac0a9ced99403c435b2b2fe9ac4bd55749823 Tue Sep 11 01:51:45 CDT 2018 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> ASoC: soc-core: add snd_soc_is_matching_component()
To find (CPU/)Codec/Platform, we need to find component first (= on CPU/Codec/Platform), and find DAI from it (= CPU/Codec). These are similar operation but difficult to be simple, and has many duplicate code to finding component. This patch adds new snd_soc_is_matching_component(), and reduce duplicate codes.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
|