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 <[email protected]> Acked-by: Mark Brown <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring (Arm) <[email protected]>
1 parent b345b5b commit 75e3d96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)