summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVenkata(Muni) Anda <muni@nvidia.com>2010-01-25 16:29:35 -0800
committerVenkata(Muni) Anda <muni@nvidia.com>2010-01-25 16:34:07 -0800
commit56758f9ebea3cc3a835abbc8dd01ab791129cf58 (patch)
treef8f3217e0e8613f5c1d558bcdc995456876eeb89
parent3ede8bfc14f5398d5458b14413ab297943469213 (diff)
tegra: Harmony power down fix.
Pressing F4 on harmony and selecting shutdown now really shuts down the system. Initialized the refcount of the SOC rail, which is ON by default, to 1. Change-Id: I7b93f067f7f2400e2f01fe6f40f523a8d6d76672
-rw-r--r--arch/arm/mach-tegra/odm_kit/adaptations/pmu/tps6586x/nvodm_pmu_tps6586x.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/odm_kit/adaptations/pmu/tps6586x/nvodm_pmu_tps6586x.c b/arch/arm/mach-tegra/odm_kit/adaptations/pmu/tps6586x/nvodm_pmu_tps6586x.c
index 0863a613270c..df7758926680 100644
--- a/arch/arm/mach-tegra/odm_kit/adaptations/pmu/tps6586x/nvodm_pmu_tps6586x.c
+++ b/arch/arm/mach-tegra/odm_kit/adaptations/pmu/tps6586x/nvodm_pmu_tps6586x.c
@@ -1649,6 +1649,9 @@ NvBool Tps6586xSetup(NvOdmPmuDeviceHandle hDevice)
}
#endif
+ /* Initialize the refcont of the rails which are ON by default */
+ hPmu->supplyRefCntTable[TPS6586xPmuSupply_SoC] = 1;
+
#if !defined(CONFIG_TEGRA_ODM_HARMONY)
// If your project doesn't use this GPIO, please delete them!
// Enable GPIO3 to HIGH