kernel_samsung_a53x/drivers/clk/bcm
Krzysztof Kozlowski 6d3b9607db clk: bcm: bcm53573: fix OF node leak in init
[ Upstream commit f92d67e23b8caa81f6322a2bad1d633b00ca000e ]

Driver code is leaking OF node reference from of_get_parent() in
bcm53573_ilp_init().  Usage of of_get_parent() is not needed in the
first place, because the parent node will not be freed while we are
processing given node (triggered by CLK_OF_DECLARE()).  Thus fix the
leak by accessing parent directly, instead of of_get_parent().

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240826065801.17081-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-23 23:21:49 +01:00
..
clk-bcm63xx-gate.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-bcm63xx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-bcm281xx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-bcm2711-dvp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-bcm2835-aux.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-bcm2835.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-bcm21664.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-bcm53573-ilp.c clk: bcm: bcm53573: fix OF node leak in init 2024-11-23 23:21:49 +01:00
clk-cygnus.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-hr2.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-iproc-armpll.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-iproc-asiu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-iproc-pll.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-iproc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-kona-setup.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-kona.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-kona.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-ns2.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-nsp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-raspberrypi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-sr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00