projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad61f44
)
cpufreq: cpu0: Put cpu parent node after using it
author
Viresh Kumar
<viresh.kumar@linaro.org>
Mon, 15 Apr 2013 07:09:37 +0000
(07:09 +0000)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Sun, 21 Apr 2013 22:53:40 +0000
(
00:53
+0200)
Parent node must be put after using it to balance its usage count. This was
missing in cpufreq-cpu0 driver. Fix it.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq-cpu0.c
patch
|
blob
|
history
diff --git
a/drivers/cpufreq/cpufreq-cpu0.c
b/drivers/cpufreq/cpufreq-cpu0.c
index 65618536abfa44876245d375371bd810519d40f4..7684dfc3ddf62a7e5495f0f4ca914fb4d89e9c86 100644
(file)
--- a/
drivers/cpufreq/cpufreq-cpu0.c
+++ b/
drivers/cpufreq/cpufreq-cpu0.c
@@
-251,6
+251,7
@@
static int cpu0_cpufreq_probe(struct platform_device *pdev)
}
of_node_put(np);
+ of_node_put(parent);
return 0;
out_free_table: