linux/sound/soc/generic
Kuninori Morimoto c6f597bc59
ASoC: audio-graph-card2: remove unneeded of_node_get()
"lnk" is used as "port0", and it will be used to get "port1" by
of_get_next_child(ports, lnk). It will call of_node_put() inside. This
function is calling of_node_get() to make up for it, but it doesn't call
paired of_node_put(port0) when it quit function.
This of_node_get() itself is not needed, let's remove it.

Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87jzk3akoo.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2024-05-09 06:59:23 +02:00
..
audio-graph-card2-custom-sample.c ASoC: simple-card-utils: Make simple_util_remove() return void 2023-10-23 13:29:45 +01:00
audio-graph-card2-custom-sample.dtsi ASoC: audio-graph-card2-custom-sample: add CPU/Codec = N:M sample 2023-11-27 13:44:03 +00:00
audio-graph-card2.c ASoC: audio-graph-card2: remove unneeded of_node_get() 2024-05-09 06:59:23 +02:00
audio-graph-card.c ASoC: simple-card-utils: Drop GPIO include 2023-12-18 14:03:31 +00:00
Kconfig ASoC: add Audio Graph Card2 Custom Sample 2021-10-15 16:10:43 +01:00
Makefile ASoC: generic: Use *-y instead of *-objs in Makefile 2024-05-08 11:39:19 +09:00
simple-card-utils.c ASoC: soc-jack: Get rid of legacy GPIO support 2024-03-26 17:13:45 +00:00
simple-card.c ASoC: simple-card-utils: Make simple_util_remove() return void 2023-10-23 13:29:45 +01:00
test-component.c ASoC: Explicitly include correct DT includes 2023-10-09 13:13:56 +01:00