linux-stable/drivers/soc
Miaoqian Lin 042571fe1d soc: rockchip: Fix refcount leak in rockchip_grf_init
[ Upstream commit 9b59588d8b ]

of_find_matching_node_and_match returns a node pointer with refcount
incremented, we should use of_node_put() on it when done.
Add missing of_node_put() to avoid refcount leak.

Fixes: 4c58063d42 ("soc: rockchip: add driver handling grf setup")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Link: https://lore.kernel.org/r/20220516072013.19731-1-linmq006@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-06-14 18:41:17 +02:00
..
actions
amlogic soc: amlogic: meson-clk-measure: Make use of the helper function devm_platform_ioremap_resource() 2021-09-13 09:43:00 +02:00
apple soc: apple: apple-pmgr-pwrstate: Do not build as a module 2021-12-15 20:36:05 +09:00
aspeed soc: aspeed: lpc-ctrl: Block error printing on probe defer cases 2022-02-08 09:52:59 +01:00
atmel
bcm soc: bcm: Check for NULL return of devm_kzalloc() 2022-06-09 10:26:03 +02:00
canaan riscv: canaan: remove useless select of non-existing config SYSCON 2022-01-20 09:35:11 -08:00
dove
fsl soc: fsl: qe: Check of ioremap return value 2022-02-18 17:11:23 -06:00
gemini
imx soc: imx: imx8m-blk-ctrl: Fix IMX8MN_DISPBLK_PD_ISI hang 2022-05-09 09:16:18 +02:00
ixp4xx soc: ixp4xx/qmgr: fix invalid __iomem access 2021-08-03 10:16:34 +02:00
lantiq
litex
mediatek soc: mediatek: pm-domains: Add wakeup capacity support in power domain 2022-04-08 13:57:49 +02:00
qcom soc: qcom: llcc: Add MODULE_DEVICE_TABLE() 2022-06-09 10:26:00 +02:00
renesas soc: renesas: rcar-rst: Add support for R-Car S4-8 2021-12-07 16:50:57 +01:00
rockchip soc: rockchip: Fix refcount leak in rockchip_grf_init 2022-06-14 18:41:17 +02:00
samsung MAINTAINERS: update Krzysztof Kozlowski's email 2022-03-07 23:46:03 +01:00
sifive
sunxi soc: sunxi_sram: Make use of the helper function devm_platform_ioremap_resource() 2021-09-13 09:04:05 +02:00
tegra ARM: SoC driver updates for v5.17 2022-01-10 08:13:52 -08:00
ti soc: ti: ti_sci_pm_domains: Check for null return of devm_kcalloc 2022-06-09 10:25:32 +02:00
ux500
versatile
xilinx Char/Misc and other driver changes for 5.17-rc1 2022-01-14 16:02:28 +01:00
Kconfig soc: apple: Add driver for Apple PMGR power state controls 2021-12-07 13:13:13 +09:00
Makefile soc: apple: Add driver for Apple PMGR power state controls 2021-12-07 13:13:13 +09:00