From 992bbc3ef2c69bbbec2d211cc6fdfcc8efe30565 Mon Sep 17 00:00:00 2001 From: Alex Naidis Date: Mon, 16 Jul 2018 21:21:33 -0400 Subject: [PATCH] cpu-boost: Reduce input boost time interval Reducing this interval allows us to not drop to lower frequencies during a regular scroll without finger release while using a relatively low boost ms value. Signed-off-by: Alex Naidis Signed-off-by: Park Ju Hyung Signed-off-by: KenHV --- drivers/cpufreq/cpu-boost.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/cpu-boost.c b/drivers/cpufreq/cpu-boost.c index 6a4008c1c526..d868e9aafc39 100644 --- a/drivers/cpufreq/cpu-boost.c +++ b/drivers/cpufreq/cpu-boost.c @@ -46,7 +46,7 @@ static bool sched_boost_active; static struct delayed_work input_boost_rem; static u64 last_input_time; -#define MIN_INPUT_INTERVAL (150 * USEC_PER_MSEC) +#define MIN_INPUT_INTERVAL (100 * USEC_PER_MSEC) static int set_input_boost_freq(const char *buf, const struct kernel_param *kp) {