From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicholas Krause Subject: [PATCH] cpufreq: Fix latency for cpufreq_info Date: Mon, 14 Jul 2014 02:28:57 -0400 Message-ID: <1405319337-11368-1-git-send-email-xerofoify@gmail.com> Return-path: Received: from mail-ie0-f173.google.com ([209.85.223.173]:34708 "EHLO mail-ie0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753326AbaGNG3E (ORCPT ); Mon, 14 Jul 2014 02:29:04 -0400 Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: rjw@rjwysocki.net Cc: viresh.kumar@linaro.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org This fixes the latency for the cpufreq policy to 1 million nanoseconds that calls the function pxa_cpu_init for the member of the structure called cpuinfo.transition_latency. Signed-off-by: Nicholas Krause --- drivers/cpufreq/pxa2xx-cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/pxa2xx-cpufreq.c b/drivers/cpufreq/pxa2xx-cpufreq.c index e24269a..e08bb98 100644 --- a/drivers/cpufreq/pxa2xx-cpufreq.c +++ b/drivers/cpufreq/pxa2xx-cpufreq.c @@ -372,7 +372,7 @@ static int pxa_cpufreq_init(struct cpufreq_policy *policy) init_sdram_rows(); /* set default policy and cpuinfo */ - policy->cpuinfo.transition_latency = 1000; /* FIXME: 1 ms, assumed */ + policy->cpuinfo.transition_latency = 1000000; /* Generate pxa25x the run cpufreq_frequency_table struct */ for (i = 0; i < NUM_PXA25x_RUN_FREQS; i++) { -- 1.9.1