diff options
| author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2018-09-11 06:51:45 +0000 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2018-09-17 10:46:08 -0700 |
| commit | be6ac0a9ced99403c435b2b2fe9ac4bd55749823 (patch) | |
| tree | 92f3397ecee44c56332fb55a1173ebdc044718b3 /include | |
| parent | 4a9ed39477bd1635cf23b49e10f9e364329bbe46 (diff) | |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
