summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshranjan <shranjan@nvidia.com>2010-05-06 12:19:19 -0700
committerGary King <gking@nvidia.com>2010-05-06 20:00:04 -0700
commitebb1e6578521e7a06ff9fdf13098481c2517877b (patch)
treefe60c7a0b11f8b2a8092b524ae654fb001fd6aed
parent519e7e72f9940cd294a7ad1331025e2d76532aff (diff)
tegra pmu: Fix SetVoltage supply programming
Correct SetVoltage supply programming for SM0 (CORE) and SM1 (CPU). Bug 681346. This is a port of Ken's perforce CL6022246 to git. Change-Id: I87b9d9e938fcfd75b4423576b4d18cb950dd7288 Reviewed-on: http://git-master/r/1312 Reviewed-by: Kenneth A Radtke <kradtke@nvidia.com> Tested-by: Sharad Ranjan <shranjan@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
-rwxr-xr-xarch/arm/mach-tegra/odm_kit/adaptations/pmu/tps6586x/nvodm_pmu_tps6586x.c4
1 files changed, 0 insertions, 4 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 c656c7f60fbd..197a2c227e1d 100755
--- 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
@@ -1399,11 +1399,7 @@ Tps6586xWriteVoltageReg(
(vddRail == TPS6586xPmuSupply_LDO4) ||
(vddRail == TPS6586xPmuSupply_LDO2))
{
-#if defined(CONFIG_TEGRA_ODM_HARMONY)
- status = Tps6586xI2cRead8(hDevice, pSupplyInfo->supplyRegInfo.addr, &data);
-#else
data = 0;
-#endif
switch (vddRail)
{
case TPS6586xPmuSupply_LDO2: