diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2013-09-16 15:26:46 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-09-30 20:18:45 +0200 |
commit | 42a4df0026b36d2a8fcfb6a3e79a3d0e1b05714d (patch) | |
tree | 64a6b575cf8064f7eec803ff428cda655c123516 /drivers/cpufreq | |
parent | cpufreq: loongson2: call cpufreq_frequency_table_put_attr() (diff) | |
download | linux-42a4df0026b36d2a8fcfb6a3e79a3d0e1b05714d.tar.xz linux-42a4df0026b36d2a8fcfb6a3e79a3d0e1b05714d.zip |
cpufreq: omap: call cpufreq_frequency_table_put_attr()
Drivers which have an exit path must call cpufreq_frequency_table_put_attr() if
they have called cpufreq_frequency_table_get_attr() in their init path.
This driver was missing this part and is fixed with this patch.
Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r-- | drivers/cpufreq/omap-cpufreq.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/cpufreq/omap-cpufreq.c b/drivers/cpufreq/omap-cpufreq.c index b68ce4ed2948..091f23334337 100644 --- a/drivers/cpufreq/omap-cpufreq.c +++ b/drivers/cpufreq/omap-cpufreq.c @@ -221,6 +221,7 @@ fail_ck: static int omap_cpu_exit(struct cpufreq_policy *policy) { + cpufreq_frequency_table_put_attr(policy->cpu); freq_table_free(); clk_put(mpu_clk); return 0; |