diff options
author | Wen Yi <wyi@nvidia.com> | 2012-01-06 16:29:00 -0800 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2012-01-30 12:31:00 -0800 |
commit | 5058297dfe2449fc2a4e7acdbef3b75caf073c8a (patch) | |
tree | 4ee7eacdfd91b97b524e93988f443e8b7670ef7a /arch/arm/mach-tegra/board-enterprise-panel.c | |
parent | 3d4928ccd3ec03e676ea92837087c47d37e8707a (diff) |
arm: tegra: modify governor parameter set function
Use the parameter name and value to set to the conservative
governor.
Also defined the value of freq_step to be 3 and set it during
early suspension.
Bug 922351
Reviewed-on: http://git-master/r/73841
Change-Id: Ieefa487f8b255d4bf242a7d98b07dc3758a70e86
Signed-off-by: Wen Yi <wyi@nvidia.com>
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77743
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-enterprise-panel.c')
-rw-r--r-- | arch/arm/mach-tegra/board-enterprise-panel.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/arch/arm/mach-tegra/board-enterprise-panel.c b/arch/arm/mach-tegra/board-enterprise-panel.c index a94eb40b3b7d..ec7eae3b365d 100644 --- a/arch/arm/mach-tegra/board-enterprise-panel.c +++ b/arch/arm/mach-tegra/board-enterprise-panel.c @@ -722,9 +722,14 @@ static void enterprise_panel_early_suspend(struct early_suspend *h) #ifdef CONFIG_TEGRA_CONVSERVATIVE_GOV_ON_EARLYSUPSEND cpufreq_save_default_governor(); cpufreq_set_conservative_governor(); - cpufreq_set_conservative_governor_param( - SET_CONSERVATIVE_GOVERNOR_UP_THRESHOLD, - SET_CONSERVATIVE_GOVERNOR_DOWN_THRESHOLD); + cpufreq_set_conservative_governor_param("up_threshold", + SET_CONSERVATIVE_GOVERNOR_UP_THRESHOLD); + + cpufreq_set_conservative_governor_param("down_threshold", + SET_CONSERVATIVE_GOVERNOR_DOWN_THRESHOLD); + + cpufreq_set_conservative_governor_param("freq_step", + SET_CONSERVATIVE_GOVERNOR_FREQ_STEP); #endif } |