diff options
Diffstat (limited to 'drivers/cpufreq/s3c64xx-cpufreq.c')
-rw-r--r-- | drivers/cpufreq/s3c64xx-cpufreq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/cpufreq/s3c64xx-cpufreq.c b/drivers/cpufreq/s3c64xx-cpufreq.c index fc69178798e6..e818248ab2b1 100644 --- a/drivers/cpufreq/s3c64xx-cpufreq.c +++ b/drivers/cpufreq/s3c64xx-cpufreq.c | |||
@@ -112,6 +112,8 @@ static int s3c64xx_cpufreq_set_target(struct cpufreq_policy *policy, | |||
112 | goto err; | 112 | goto err; |
113 | } | 113 | } |
114 | 114 | ||
115 | cpufreq_notify_transition(&freqs, CPUFREQ_POSTCHANGE); | ||
116 | |||
115 | #ifdef CONFIG_REGULATOR | 117 | #ifdef CONFIG_REGULATOR |
116 | if (vddarm && freqs.new < freqs.old) { | 118 | if (vddarm && freqs.new < freqs.old) { |
117 | ret = regulator_set_voltage(vddarm, | 119 | ret = regulator_set_voltage(vddarm, |
@@ -125,8 +127,6 @@ static int s3c64xx_cpufreq_set_target(struct cpufreq_policy *policy, | |||
125 | } | 127 | } |
126 | #endif | 128 | #endif |
127 | 129 | ||
128 | cpufreq_notify_transition(&freqs, CPUFREQ_POSTCHANGE); | ||
129 | |||
130 | pr_debug("cpufreq: Set actual frequency %lukHz\n", | 130 | pr_debug("cpufreq: Set actual frequency %lukHz\n", |
131 | clk_get_rate(armclk) / 1000); | 131 | clk_get_rate(armclk) / 1000); |
132 | 132 | ||