On Thursday 05 August 2010 09:44:33 pm Kevin Hilman wrote:
> Sekhar Nori <[email protected]> writes:
> > Current cpufreq code does not consider errors that can occur while
> > changing voltage. Code to increase CPU  frequency goes ahead even in
> > the case the regulator has failed to increase the voltage. This leads
> > to hard error since lower voltages cannot support increased frequency.
> >
> > Prevent this by not increasing frequency in case increasing voltage
> > is not successful.
> >
> > Also, do not lower the voltage if changing the cpu frequency has failed
> > for some reason.
> >
> > Note that we do not return error on failure to decrease voltage as
> > that is not a hard error.
> >
> > Signed-off-by: Sekhar Nori <[email protected]>
> 
> Series looks good.
> 
> Applying the whole series after doing the 'ratio--' change locally as
> suggested by Sergei.
> 

Just noticed... 4th patch in this series breaks build for non-cpufreq 
kernels. I guess since you pushed the change a proper patch is 
needed?

Best Regards,
Caglar

From: Caglar Akyuz <[email protected]>
Date: Mon, 30 Aug 2010 10:40:59 +0300
Subject: davinci: Match da850_register_cpufreq signature for non-cpufreq 
kernels.

Function signature for da850_register_cpufreq is changed by commit:

  davinci: am18x/da850/omap-l138: keep async clock constant with cpufreq

However that commit did not changed funtion for non-cpufreq kernels, so
build fails when cpufreq is disabled.

Signed-off-by: Caglar Akyuz <[email protected]>
---
 arch/arm/mach-davinci/da850.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c
index 9b59678..63916b9 100644
--- a/arch/arm/mach-davinci/da850.c
+++ b/arch/arm/mach-davinci/da850.c
@@ -985,7 +985,7 @@ static int da850_set_pll0rate(struct clk *clk, unsigned 
long index)
        return 0;
 }
 #else
-int __init da850_register_cpufreq(void)
+int __init da850_register_cpufreq(char *async_clk)
 {
        return 0;
 }
-- 
1.6.4.2


> Kevin
> _______________________________________________
> Davinci-linux-open-source mailing list
> [email protected]
> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
> 
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to