Skip to content

Commit 27aaad0

Browse files
committed
Merge tag 'zynq-soc-for-v6.3' of https://github.com/Xilinx/linux-xlnx into arm/soc
ARM: Zynq SoC changes for v6.3 - Fix refcount leak in zynq_early_slcr_init * tag 'zynq-soc-for-v6.3' of https://github.com/Xilinx/linux-xlnx: ARM: zynq: Fix refcount leak in zynq_early_slcr_init Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnd Bergmann <[email protected]>
2 parents ae3147b + 9eedb91 commit 27aaad0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm/mach-zynq/slcr.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ int __init zynq_early_slcr_init(void)
213213
zynq_slcr_regmap = syscon_regmap_lookup_by_compatible("xlnx,zynq-slcr");
214214
if (IS_ERR(zynq_slcr_regmap)) {
215215
pr_err("%s: failed to find zynq-slcr\n", __func__);
216+
of_node_put(np);
216217
return -ENODEV;
217218
}
218219

0 commit comments

Comments
 (0)