arm: tegra: poll CLAMP_STATUS
authorPrashant Gaikwad <pgaikwad@nvidia.com>
Mon, 30 Sep 2013 12:10:24 +0000 (17:10 +0530)
committerAjay Nandakumar <anandakumarm@nvidia.com>
Thu, 3 Oct 2013 13:47:55 +0000 (18:47 +0530)
commitf6738c545d0eb5186ba0887e278465e5aa6231c2
treea46e84dc61682cff7e52940bcc1124aa9f9529a8
parent3b4f08be41f89a8bffdf41b181fc473c88c6f0f7
arm: tegra: poll CLAMP_STATUS

In current implementation SW is polling REMOVE_CLAMPING_CMD to
check the CLAMP remove status. As per the HW guys this register
is write only and does no make sense polling it. Instead use
CLAMP_STATUS for polling.

Bug 1376147

Change-Id: I2f2a383da64731bd16ff8caeffbadc0b9ac9b3c0
Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-on: http://git-master/r/280267
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
(cherry picked from commit 8c73a49068b7cde77d9e466f00a30fa1280c9c26)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
arch/arm/mach-tegra/powergate.c