diff options
author | Alex Frid <afrid@nvidia.com> | 2012-04-19 23:04:28 -0700 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2012-05-18 16:07:51 -0700 |
commit | 11fb7d0e35d56230919eb91bee1aa138a10b8416 (patch) | |
tree | 36f19cc023090975e05b4ba63720490d33732b14 /arch/arm/mach-tegra/cpu-tegra.h | |
parent | 2fbd01fd8fd8954e6ec4ee22b3a2ab0506f76818 (diff) |
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 <afrid@nvidia.com>
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 <afrid@nvidia.com>
Reviewed-by: Prajakta Gudadhe <pgudadhe@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/cpu-tegra.h')
-rw-r--r-- | arch/arm/mach-tegra/cpu-tegra.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |