linux-stable/drivers/soc/rockchip
Miaoqian Lin 9b59588d8b soc: rockchip: Fix refcount leak in rockchip_grf_init
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>
2022-05-17 10:49:37 +02:00
..
dtpm.c dtpm/soc/rk3399: Add the ability to unload the module 2022-02-23 19:46:29 +01:00
grf.c soc: rockchip: Fix refcount leak in rockchip_grf_init 2022-05-17 10:49:37 +02:00
io-domain.c soc: rockchip: io-domain: Remove unneeded semicolon 2021-08-19 23:56:38 +02:00
Kconfig soc: rockchip: Clean up Kconfig whitespace 2022-04-30 15:06:14 +02:00
Makefile rockchip/soc/drivers: Add DTPM description for rk3399 2022-02-04 17:38:09 +01:00
pm_domains.c soc: rockchip: power-domain: Replace dsb() with smb() 2022-04-30 15:06:14 +02:00