ARM: tegra: powergate: Allow calling power up when already powered
authorColin Cross <ccross@android.com>
Sat, 8 Jan 2011 21:59:15 +0000 (13:59 -0800)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 07:47:33 +0000 (00:47 -0700)
commit1b800d489636b8f6148ff97ac69921c02e1fea9c
treefcc0378303cec78cbd69ff3d1be981d73ffaa07c
parent2a98d8c94e722514618113f67230be7fee39e9c9
ARM: tegra: powergate: Allow calling power up when already powered

Allow calling tegra_powergate_sequence_power_up on a partition
that is already powered.  Reset the partition, and return success
with the clock enabled.

Change-Id: I776c6a84091f0bb8faca22d87b3fabf0cfede564
Signed-off-by: Colin Cross <ccross@android.com>

Rebase-Id: Rbb11d3daa286f0eaf69c76c5ba023b3aa7188ed9
arch/arm/mach-tegra/powergate.c