commit | a467b8b3efe95a0c14e70256155c252cdb488e35 | [log] [tgz] |
---|---|---|
author | Miaoqian Lin <linmq006@gmail.com> | Mon May 16 11:20:10 2022 +0400 |
committer | Heiko Stuebner <heiko@sntech.de> | Fri May 27 15:26:07 2022 +0200 |
tree | 6b046d2a29757c45ebffe0a715973e14dd456829 | |
parent | 7e284070abe53d448517b80493863595af4ab5f0 [diff] |
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: 4c58063d4258 ("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>