summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBitan Biswas <bbiswas@nvidia.com>2010-07-21 12:44:15 -0700
committerGary King <gking@nvidia.com>2010-07-22 08:48:22 -0700
commitf0876215f4c57dbcdbfab58bc0b3c844224e0d7c (patch)
treee1d46316b646f9139df182d6f2e75daa6fca3ec3
parentbd678487f1dcb3964a5cb4d16a93e2defb0a0d5f (diff)
[odm]whistler:Making DeepSleep[LP0] as a default power state.
Making DeepSleep as a default power state during system suspend. Suspend[LP1] power state can be selected with ODMDATA Change-Id: I41fbffb901174a121447e1f97de2d8150245d1db Reviewed-on: http://git-master/r/4115 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Narendra Damahe <ndamahe@nvidia.com> Tested-by: Narendra Damahe <ndamahe@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
-rw-r--r--arch/arm/mach-tegra/odm_kit/query/whistler/nvodm_query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/odm_kit/query/whistler/nvodm_query.c b/arch/arm/mach-tegra/odm_kit/query/whistler/nvodm_query.c
index eeb6dd21a58a..f798a7d4a703 100644
--- a/arch/arm/mach-tegra/odm_kit/query/whistler/nvodm_query.c
+++ b/arch/arm/mach-tegra/odm_kit/query/whistler/nvodm_query.c
@@ -1219,7 +1219,7 @@ const NvOdmSocPowerStateInfo* NvOdmQueryLowestSocPowerState(void)
LPStateSelection = NV_DRF_VAL(TEGRA_DEVKIT, BCT_CUSTOPT, LPSTATE, LPStateSelection);
}
// Lowest power state controlled by the flashed custom option.
- PowerStateInfo.LowestPowerState = ((LPStateSelection != TEGRA_DEVKIT_BCT_CUSTOPT_0_LPSTATE_LP1)?
+ PowerStateInfo.LowestPowerState = ((LPStateSelection == TEGRA_DEVKIT_BCT_CUSTOPT_0_LPSTATE_LP1)?
NvOdmSocPowerState_Suspend : NvOdmSocPowerState_DeepSleep);
pPowerStateInfo = (const NvOdmSocPowerStateInfo*) &PowerStateInfo;
}