ASoC: audio-graph-card2: use of_graph_get_port_by_id() at graph_get_next_multi_ep()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 6 Jan 2025 05:49:41 +0000 (05:49 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 13 Jan 2025 14:16:54 +0000 (14:16 +0000)
commit85dc053c87bcc32afd8e5cbf20a649dc24e93d24
tree2eb965eb82eecc2c15343946943501291bc0a3f6
parentc8903242bcb119660232c9cbf336fea3737d1a60
ASoC: audio-graph-card2: use of_graph_get_port_by_id() at graph_get_next_multi_ep()

Audio Graph Card2 is assuming "port" are necessarily in order, but there
is no guarantee in case of overlay. Use of_graph_get_port_by_id() instead
to handle it correctly.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Stephen Gordon <gordoste@iinet.net.au>
Link: https://patch.msgid.link/87sepwo5jf.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/generic/audio-graph-card2.c