From 11fb7d0e35d56230919eb91bee1aa138a10b8416 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 Signed-off-by: Alex Frid Reviewed-on: http://git-master/r/99834 (cherry picked from commit 22886da975d44546736b69c64414b56bf3eb7186) Change-Id: I904cf0155f149977de901ba32f565b496a20f713 Reviewed-on: http://git-master/r/103241 Reviewed-by: Aleksandr Frid Reviewed-by: Prajakta Gudadhe Tested-by: Varun Colbert --- 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