From 22886da975d44546736b69c64414b56bf3eb7186 Mon Sep 17 00:00:00 2001 From: Alex Frid Date: Thu, 19 Apr 2012 23:04:28 -0700 Subject: ARM: tegra: power: Enforce CPU rate range in min cpu notifier On Tegra3 make sure cpu rate is within G-mode range before LP to G mode switch triggered by minimum CPUs notifier. Bug 964208 Change-Id: Ic4ee6bc7eca5ad0902da4907e4702f296a155280 Signed-off-by: Alex Frid Reviewed-on: http://git-master/r/99834 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Yu-Huan Hsu --- arch/arm/mach-tegra/cpu-tegra.h | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/arm/mach-tegra/cpu-tegra.h') diff --git a/arch/arm/mach-tegra/cpu-tegra.h b/arch/arm/mach-tegra/cpu-tegra.h index 2bba460514f3..0dda294ea2cc 100644 --- a/arch/arm/mach-tegra/cpu-tegra.h +++ b/arch/arm/mach-tegra/cpu-tegra.h @@ -22,6 +22,7 @@ #define __MACH_TEGRA_CPU_TEGRA_H unsigned int tegra_getspeed(unsigned int cpu); +int tegra_update_cpu_speed(unsigned long rate); int tegra_cpu_set_speed_cap(unsigned int *speed_cap); unsigned int tegra_count_slow_cpus(unsigned long speed_limit); unsigned int tegra_get_slowest_cpu_n(void); -- cgit v1.2.3