diff options
author | Kuninori Morimoto <[email protected]> | 2022-06-22 05:54:13 +0000 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-06-29 18:10:15 +0100 |
commit | 9cc69528188a4e3eb24370f6c05a92791ac249ba (patch) | |
tree | 1747f33018b093f605a20b8f62b57e93dcbef376 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 586fb2641371cf7f23a401ab1c79b17e3ec457f4 (diff) |
ASoC: soc-core.c: share code for snd_soc_of_get_dai_link_cpus/codecs()
ASoC has snd_soc_of_get_dai_link_cpus/codecs(), and these are almost same
code. The main difference are below.
for_each_link_cpus() dai_link->cpus dai_link->num_cpus
for_each_link_codecs() dai_link->codecs dai_link->num_codecs
Because we need to use these parameters, we can't share full-code for now,
but can share some codes.
This patch adds __snd_soc_of_get/put_xxx() functions, and share the code.
Signed-off-by: Kuninori Morimoto <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions