diff options
| author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2024-05-28 05:05:20 +0000 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2024-06-03 15:59:34 +0100 |
| commit | 72999a1b6663f1ff604e79aea54f168f78e2441a (patch) | |
| tree | dcd512af19fbdc2bf23a5d6928f5fb94b467210c /tools/perf/scripts/python/bin/task-analyzer-record | |
| parent | ASoC: simple-card-utils: remove both playback/capture_only check (diff) | |
| download | linux-72999a1b6663f1ff604e79aea54f168f78e2441a.tar.gz linux-72999a1b6663f1ff604e79aea54f168f78e2441a.zip | |
ASoC: audio-graph-card2: add ep_to_port() / port_to_ports()
Current audio-graph-card2 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/878qzuh6gf.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/task-analyzer-record')
0 files changed, 0 insertions, 0 deletions
