WSL2-Linux-Kernel/drivers/soc/rockchip
Miaoqian Lin aab25b669c 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:36:07 +02:00
..
Kconfig soc: rockchip: ROCKCHIP_GRF should not default to y, unconditionally 2021-07-12 13:29:09 +02:00
Makefile PM: AVS: rockchip-io: Move the driver to the rockchip specific drivers 2020-10-16 18:23:15 +02:00
grf.c soc: rockchip: Fix refcount leak in rockchip_grf_init 2022-06-14 18:36:07 +02:00
io-domain.c soc: rockchip: io-domain: Remove unneeded semicolon 2021-08-19 23:56:38 +02:00
pm_domains.c soc: rockchip: power-domain: add rk3568 powerdomains 2021-05-11 12:07:04 +02:00