Skip to content

Commit 75e3d96

Browse files
morimotorobherring
authored andcommitted
ASoC: audio-graph-card: use new of_graph functions
Now we can use new port related functions for port parsing. Use it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Acked-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/87fromb5sr.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
1 parent b345b5b commit 75e3d96

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sound/soc/generic/audio-graph-card.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ static int __graph_for_each_link(struct simple_util_priv *priv,
372372
cpu_port = it.node;
373373

374374
/* loop for all CPU endpoint */
375-
for_each_child_of_node_scoped(cpu_port, cpu_ep) {
375+
for_each_of_graph_port_endpoint(cpu_port, cpu_ep) {
376376
/* get codec */
377377
codec_ep = of_graph_get_remote_endpoint(cpu_ep);
378378
codec_port = ep_to_port(codec_ep);

0 commit comments

Comments
 (0)