We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 568035b commit 28a0b09Copy full SHA for 28a0b09
drivers/clk/clk-nomadik.c
@@ -99,7 +99,7 @@ static void __init nomadik_src_init(void)
99
if (!src_base) {
100
pr_err("%s: must have src parent node with REGS (%pOFn)\n",
101
__func__, np);
102
- return;
+ goto out_put;
103
}
104
105
/* Set all timers to use the 2.4 MHz TIMCLK */
@@ -132,6 +132,9 @@ static void __init nomadik_src_init(void)
132
133
writel(val, src_base + SRC_XTALCR);
134
register_reboot_notifier(&nomadik_clk_reboot_notifier);
135
+
136
+out_put:
137
+ of_node_put(np);
138
139
140
/**
0 commit comments