diff options
author | Shridhar Rasal <srasal@nvidia.com> | 2012-04-18 10:19:57 +0530 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-04-24 14:00:06 -0700 |
commit | 68c881c9d4dd9a6f581e98d7f05847abf301998f (patch) | |
tree | ffb3cd3a415107485ad7ef9f85372b705352cc60 /arch/arm/mach-tegra | |
parent | 76191dd9546c6cf1b2a574272fc106141b4acb31 (diff) |
arm: tegra: pm: use writel instead pmc_32kwritel
For update of PMC_CTRL register delay is not required.
Replacing pmc_32kwritel by writel to improve cluster switch time.
bug 954247
Change-Id: Ic39c6fafd606321d549cf26e4cfe662f462b9bdc
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/97229
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra')
-rw-r--r-- | arch/arm/mach-tegra/pm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/pm.c b/arch/arm/mach-tegra/pm.c index 1882de0b31b6..72ae30a6a29a 100644 --- a/arch/arm/mach-tegra/pm.c +++ b/arch/arm/mach-tegra/pm.c @@ -585,7 +585,7 @@ unsigned int tegra_idle_lp2_last(unsigned int sleep_time, unsigned int flags) else mode |= TEGRA_POWER_PWRREQ_OE; mode &= ~TEGRA_POWER_EFFECT_LP0; - pmc_32kwritel(mode, PMC_CTRL); + writel(mode, pmc + PMC_CTRL); mode |= flags; tegra_cluster_switch_time(flags, tegra_cluster_switch_time_id_start); |