diff options
author | Prashant Gaikwad <pgaikwad@nvidia.com> | 2013-10-17 10:24:03 +0530 |
---|---|---|
committer | Harry Hong <hhong@nvidia.com> | 2014-04-21 19:14:36 -0700 |
commit | e0591343e481d0ad84f5d7f1a5889d7f2d5a0d83 (patch) | |
tree | ce0640e3568c7ec4a54fb72e0dcb0ae549bb03e1 /arch | |
parent | 2e15b181b9968d0d8317c4a5b9f44cffe8651138 (diff) |
arm: tegra: fix clamp status mask
PCIE and VDE ids are swapped in REMOVE_CLAMPING_COMMAND
but not in CLAMP_STATUS. This results in timeout for
VDE partition.
Bug 1390084
Change-Id: I5d14688f7140d9fc23bb54798147620f631402d1
Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-on: http://git-master/r/300346
(cherry picked from commit 27e082ce29fa0cdcbbb3fc2991dd21e045f429d3)
Reviewed-on: http://git-master/r/396762
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-tegra/powergate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/powergate.c b/arch/arm/mach-tegra/powergate.c index fdd739169b7b..c9ebf2ecb30f 100644 --- a/arch/arm/mach-tegra/powergate.c +++ b/arch/arm/mach-tegra/powergate.c @@ -358,7 +358,7 @@ int tegra_powergate_remove_clamping(int id) udelay(1); contention_timeout--; } while ((contention_timeout > 0) - && (pmc_read(PWRGATE_CLAMP_STATUS) & mask)); + && (pmc_read(PWRGATE_CLAMP_STATUS) & BIT(id))); WARN(contention_timeout <= 0, "Couldn't remove clamping"); |