Revert "arm: tegra: poll CLAMP_STATUS"
Bharat Nihalani [Fri, 4 Oct 2013 12:29:23 +0000 (17:29 +0530)]
This reverts commit 8c73a49068b7cde77d9e466f00a30fa1280c9c26 since
it causes issues with power-gating GPU

Bug 1382374

Change-Id: Ic8fd1483f88d66b22548d559b86043807bc6315b
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/281769
Reviewed-by: Automatic_Commit_Validation_User

arch/arm/mach-tegra/powergate.c

index 6ebaf30..69fe1c7 100644 (file)
@@ -362,7 +362,7 @@ int tegra_powergate_remove_clamping(int id)
                udelay(1);
                contention_timeout--;
        } while ((contention_timeout > 0)
-                       && (pmc_read(PWRGATE_CLAMP_STATUS) & mask));
+                       && (pmc_read(REMOVE_CLAMPING) & mask));
 
        WARN(contention_timeout <= 0, "Couldn't remove clamping");