Commit 2e3bc71e authored by Miaoqian Lin's avatar Miaoqian Lin Committed by Huacai Chen
Browse files

LoongArch: Fix device node refcount leak in fdt_cpu_clk_init()



Add missing of_node_put() to properly handle the reference count of the
device node obtained from of_get_cpu_node().

Fixes: 44a01f1f ("LoongArch: Parsing CPU-related information from DTS")
Signed-off-by: default avatarMiaoqian Lin <linmq006@gmail.com>
Signed-off-by: default avatarHuacai Chen <chenhuacai@loongson.cn>
parent 4103cfe9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment