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 /tools/perf/scripts/python | |
| parent | ASoC: soc-core: manage platform name under snd_soc_init_platform() (diff) | |
| download | linux-be6ac0a9ced99403c435b2b2fe9ac4bd55749823.tar.gz linux-be6ac0a9ced99403c435b2b2fe9ac4bd55749823.zip | |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
