diff options
| author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2024-05-28 05:05:36 +0000 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2024-06-03 15:59:38 +0100 |
| commit | df23fcd56bb75ab522350bd8cb52bde9067aea45 (patch) | |
| tree | 9fabd064c1db8833b182e441664e192d97ac3b05 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | ASoC: audio-graph-card2: merge graph_parse_mclk_fs() into graph_link_init() (diff) | |
| download | linux-df23fcd56bb75ab522350bd8cb52bde9067aea45.tar.gz linux-df23fcd56bb75ab522350bd8cb52bde9067aea45.zip | |
ASoC: audio-graph-card: add ep_to_port() / port_to_ports()
Current audio-graph-card is using of_get_parent() to get "port" from
"ep", or get "ports" from "port". But it is difficlut to understand,
and "ports" might not exist.
This patch adds ep_to_port() to get "port" from "ep", and port_to_ports()
to get "ports" from "port". "ports" will be NULL if not exist.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://msgid.link/r/8734q2h6fz.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
