Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Kuninori Morimoto and committed by
Rob Herring (Arm)
75e3d962 b345b5b2

+1 -1
+1 -1
sound/soc/generic/audio-graph-card.c
··· 372 372 cpu_port = it.node; 373 373 374 374 /* 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) { 376 376 /* get codec */ 377 377 codec_ep = of_graph_get_remote_endpoint(cpu_ep); 378 378 codec_port = ep_to_port(codec_ep);