cpufreq Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Re: Re: [PATCH] EXYNOS: Initialize locking_frequency with initial frequency
@ 2012-02-09  5:35 함명주
  0 siblings, 0 replies; only message in thread
From: 함명주 @ 2012-02-09  5:35 UTC (permalink / raw)
  To: Tushar Behera, cpufreq@vger.kernel.org,
	linux-samsung-soc@vger.kernel.org
  Cc: davej@redhat.com, 이재철

> On 02/01/2012 04:38 PM, Tushar Behera wrote:
> > On 01/25/2012 10:15 AM, Tushar Behera wrote:
> >> As per definition, locking_frequency is the initial frequency which is
> >> set by boot-loader. Hence the value is updated with the initial value
> >> during boot time init call.
> >>
> >> This code was present in exynos210-cpufreq.c before this consolidation
> >> patch.
> >> - a125a17fa61a ([CPUFREQ] EXYNOS: Make EXYNOS common cpufreq driver).
> >>
> >> Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
> >> Signed-off-by: Inderpal Singh <inderpal.singh@linaro.org>

Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com>

> >> ---
> >> The patch is based on v3.3-rc1.
> >>
> >>  drivers/cpufreq/exynos-cpufreq.c |    2 ++
> >>  1 files changed, 2 insertions(+), 0 deletions(-)
> >>
> >> diff --git a/drivers/cpufreq/exynos-cpufreq.c b/drivers/cpufreq/exynos-cpufreq.c
> >> index 5467879..7cfb516 100644
> >> --- a/drivers/cpufreq/exynos-cpufreq.c
> >> +++ b/drivers/cpufreq/exynos-cpufreq.c
> >> @@ -210,6 +210,8 @@ static int exynos_cpufreq_cpu_init(struct cpufreq_policy *policy)
> >>  
> >>  	cpufreq_frequency_table_get_attr(exynos_info->freq_table, policy->cpu);
> >>  
> >> +	locking_frequency = exynos_getspeed(0);
> >> +
> >>  	/* set the transition latency value */
> >>  	policy->cpuinfo.transition_latency = 100000;
> >>  
> > 
> > 
> 
> 
> -- 
> Tushar Behera
> 
>          

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-02-09  5:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-09  5:35 Re: [PATCH] EXYNOS: Initialize locking_frequency with initial frequency 함명주

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox