From: 黄涛 Date: Tue, 22 Feb 2011 09:30:35 +0000 (+0800) Subject: cpufreq: ondemand: rk29 up threshold set to 80 X-Git-Tag: firefly_0821_release~10756^2~5 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=46bdf9cd407525456cefffc3bbcdadcc3c2eccbf;p=firefly-linux-kernel-4.4.55.git cpufreq: ondemand: rk29 up threshold set to 80 --- diff --git a/drivers/cpufreq/cpufreq_ondemand.c b/drivers/cpufreq/cpufreq_ondemand.c index 5211924e45fb..2081b289a809 100644 --- a/drivers/cpufreq/cpufreq_ondemand.c +++ b/drivers/cpufreq/cpufreq_ondemand.c @@ -30,8 +30,13 @@ #define DEF_FREQUENCY_DOWN_DIFFERENTIAL (10) #define DEF_FREQUENCY_UP_THRESHOLD (80) +#ifdef CONFIG_ARCH_RK29 +#define MICRO_FREQUENCY_DOWN_DIFFERENTIAL (10) +#define MICRO_FREQUENCY_UP_THRESHOLD (80) +#else #define MICRO_FREQUENCY_DOWN_DIFFERENTIAL (3) #define MICRO_FREQUENCY_UP_THRESHOLD (95) +#endif #define MICRO_FREQUENCY_MIN_SAMPLE_RATE (10000) #define MIN_FREQUENCY_UP_THRESHOLD (11) #define MAX_FREQUENCY_UP_THRESHOLD (100)