Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 351061
b: refs/heads/master
c: 857d90f
h: refs/heads/master
i:
  351059: abc1896
v: v3
  • Loading branch information
Jonghwan Choi authored and Kukjin Kim committed Dec 23, 2012
1 parent 9e24671 commit b0bfa3d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 184cddd1e004d3ebd473f9e1ce20dec1d2576fd1
refs/heads/master: 857d90f7014f4fe0acc49947ad5309174111a4e8
7 changes: 5 additions & 2 deletions trunk/drivers/cpufreq/exynos-cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ static int exynos_target(struct cpufreq_policy *policy,
freqs.new = freq_table[index].frequency;
freqs.cpu = policy->cpu;

if (freqs.new == freqs.old)
goto out;

/*
* ARM clock source will be changed APLL to MPLL temporary
* To support this level, need to control regulator for
Expand All @@ -113,8 +116,8 @@ static int exynos_target(struct cpufreq_policy *policy,
if (safe_arm_volt)
regulator_set_voltage(arm_regulator, safe_arm_volt,
safe_arm_volt);
if (freqs.new != freqs.old)
exynos_info->set_freq(old_index, index);

exynos_info->set_freq(old_index, index);

for_each_cpu(freqs.cpu, policy->cpus)
cpufreq_notify_transition(&freqs, CPUFREQ_POSTCHANGE);
Expand Down

0 comments on commit b0bfa3d

Please sign in to comment.