cpufreq: Change default transition delay to 2ms
[sfrench/cifs-2.6.git] / drivers / cpufreq / cpufreq.c
index 44db4f59c4cc6cc839b062b8ab84efa6bad5b729..66cef33c4ec7b4595c80d978c40808833ef8fb86 100644 (file)
@@ -582,11 +582,11 @@ unsigned int cpufreq_policy_transition_delay_us(struct cpufreq_policy *policy)
                 * for platforms where transition_latency is in milliseconds, it
                 * ends up giving unrealistic values.
                 *
-                * Cap the default transition delay to 10 ms, which seems to be
+                * Cap the default transition delay to 2 ms, which seems to be
                 * a reasonable amount of time after which we should reevaluate
                 * the frequency.
                 */
-               return min(latency * LATENCY_MULTIPLIER, (unsigned int)10000);
+               return min(latency * LATENCY_MULTIPLIER, (unsigned int)(2 * MSEC_PER_SEC));
        }
 
        return LATENCY_MULTIPLIER;