summaryrefslogtreecommitdiff
path: root/drivers/cpufreq/cpu-boost.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/cpufreq/cpu-boost.c')
-rw-r--r--drivers/cpufreq/cpu-boost.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/cpufreq/cpu-boost.c b/drivers/cpufreq/cpu-boost.c
index f6695636435f..5650bfa83ae2 100644
--- a/drivers/cpufreq/cpu-boost.c
+++ b/drivers/cpufreq/cpu-boost.c
@@ -159,16 +159,12 @@ static int boost_mig_sync_thread(void *data)
if (ret)
continue;
- if (dest_policy.cur >= src_policy.cur) {
- pr_debug("No sync. CPU%d@%dKHz >= CPU%d@%dKHz\n",
- dest_cpu, dest_policy.cur,
+ if (src_policy.cur == src_policy.cpuinfo.min_freq) {
+ pr_debug("No sync. Source CPU%d@%dKHz at min freq\n",
src_cpu, src_policy.cur);
continue;
}
- if (sync_threshold && (dest_policy.cur >= sync_threshold))
- continue;
-
cancel_delayed_work_sync(&s->boost_rem);
if (sync_threshold)
s->boost_min = min(sync_threshold, src_policy.cur);