diff options
author | Nishanth Menon <nm@ti.com> | 2011-05-26 22:39:18 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2011-11-08 14:42:17 -0500 |
commit | ffe4f0f115420e3843aa0d8dc1baf31ea5b6fcf2 (patch) | |
tree | 8927c917cd738befc191295e41c568854ac0dda3 /drivers/cpufreq | |
parent | bf2a359d504bca3ef71a65e8759d51af4b17055a (diff) |
cpufreq: OMAP: only supports OPP library
OMAP2 is the only family using clk_[init|exit]_cpufreq_table, however,
the cpufreq code does not currently use clk_init_cpufreq_table. As a
result, it is unusuable for OMAP2 and only usable only on platforms
using OPP library.
Remove the unbalanced clk_exit_cpufreq_table(). Any platforms where
OPPs are not availble will fail on init because a freq table will not
be properly initialized.
Signed-off-by: Nishanth Menon <nm@ti.com>
[khilman@ti.com: changelog edits, and graceful failure mode changes]
Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r-- | drivers/cpufreq/omap-cpufreq.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/cpufreq/omap-cpufreq.c b/drivers/cpufreq/omap-cpufreq.c index eecb0961c6b3..8f778b9dbb46 100644 --- a/drivers/cpufreq/omap-cpufreq.c +++ b/drivers/cpufreq/omap-cpufreq.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * CPU frequency scaling for OMAP | 2 | * CPU frequency scaling for OMAP using OPP information |
3 | * | 3 | * |
4 | * Copyright (C) 2005 Nokia Corporation | 4 | * Copyright (C) 2005 Nokia Corporation |
5 | * Written by Tony Lindgren <tony@atomide.com> | 5 | * Written by Tony Lindgren <tony@atomide.com> |
@@ -198,7 +198,6 @@ static int __cpuinit omap_cpu_init(struct cpufreq_policy *policy) | |||
198 | 198 | ||
199 | static int omap_cpu_exit(struct cpufreq_policy *policy) | 199 | static int omap_cpu_exit(struct cpufreq_policy *policy) |
200 | { | 200 | { |
201 | clk_exit_cpufreq_table(&freq_table); | ||
202 | clk_put(mpu_clk); | 201 | clk_put(mpu_clk); |
203 | return 0; | 202 | return 0; |
204 | } | 203 | } |