diff options
author | Puneet Saxena <puneets@nvidia.com> | 2012-05-30 16:28:31 +0530 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-06-19 14:48:07 -0700 |
commit | 52b391ca43416e2dbf11487b37652e8ebfec0aaf (patch) | |
tree | c8bc2d04472d96222e18487ed03dd5a5be327c24 /arch/arm/mach-tegra/board.h | |
parent | 45db91063208a3f973ed0cf78a4a0a5b9f54a36d (diff) |
arm: tegra: Fix cpu governor change issue
It fixes the issue where cpu governor change
was inconsistent across platforms.
In T2x, AUTO HOTPLUG is disabled therefore we need
to store/restore gov for all online cpus across
LP0 cycle.
In T3x, AUTO HOTPLUG is enabled therefore storing/restoring
gov for Cpu0 across LP0 cycle. Cpu0 remains online in suspend
and resume.
bug 991081
Change-Id: I167654aa21e4832b3fdc40e3d388a4d3f984632b
Signed-off-by: Puneet Saxena <puneets@nvidia.com>
Reviewed-on: http://git-master/r/105404
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board.h')
-rw-r--r-- | arch/arm/mach-tegra/board.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/board.h b/arch/arm/mach-tegra/board.h index 63095ce9336a..7c081fad642a 100644 --- a/arch/arm/mach-tegra/board.h +++ b/arch/arm/mach-tegra/board.h @@ -164,8 +164,8 @@ extern char cpufreq_default_gov[][MAX_GOV_NAME_LEN]; extern char *cpufreq_conservative_gov; void cpufreq_store_default_gov(void); -int cpufreq_restore_default_gov(void); -int cpufreq_change_gov(char *target_gov); +void cpufreq_restore_default_gov(void); +void cpufreq_change_gov(char *target_gov); #endif int get_core_edp(void); |