Unverified Commit 5b068206 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!15663 ARM: versatile: Add missing of_node_put in dcscb_init

parents 3f828304 e7636f9e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -146,6 +146,7 @@ static int __init dcscb_init(void)
	if (!node)
		return -ENODEV;
	dcscb_base = of_iomap(node, 0);
	of_node_put(node);
	if (!dcscb_base)
		return -EADDRNOTAVAIL;
	cfg = readl_relaxed(dcscb_base + DCS_CFG_R);