summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/tegra3_usb_phy.c
diff options
context:
space:
mode:
authorVenu Byravarasu <vbyravarasu@nvidia.com>2012-07-02 17:32:53 +0530
committerRohan Somvanshi <rsomvanshi@nvidia.com>2012-07-05 03:38:32 -0700
commit668e227985f0ab3a7ea524423006dd95abad395f (patch)
tree589cd241eba32d07885cded61c761de1f0bfc032 /arch/arm/mach-tegra/tegra3_usb_phy.c
parent2ef6ec88c51c82f7f63a5c9b6c954035f04c8f1e (diff)
arm: tegra: usb: remove unnecessary code
As Wake alarm and Walk PTR are being set in two places for UTMI, removing it from one place. Change-Id: Ic9c1998f83cb214af52dd0a161f16470386c816e Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com> Reviewed-on: http://git-master/r/112967 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/tegra3_usb_phy.c')
-rw-r--r--arch/arm/mach-tegra/tegra3_usb_phy.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-tegra/tegra3_usb_phy.c b/arch/arm/mach-tegra/tegra3_usb_phy.c
index 1922c0b134ad..5211fa3696d1 100644
--- a/arch/arm/mach-tegra/tegra3_usb_phy.c
+++ b/arch/arm/mach-tegra/tegra3_usb_phy.c
@@ -643,12 +643,6 @@ static void utmip_setup_pmc_wake_detect(struct tegra_usb_phy *phy)
val |= UTMIP_LINEVAL_WALK_EN(inst);
writel(val, pmc_base + PMC_SLEEPWALK_CFG);
- /* Clear the walk pointers and wake alarm */
- val = readl(pmc_base + PMC_TRIGGERS);
- val |= UTMIP_CLR_WAKE_ALARM(inst) | UTMIP_CLR_WALK_PTR(inst);
- writel(val, pmc_base + PMC_TRIGGERS);
-
-
/* Capture FS/LS pad configurations */
pmc_pad_cfg_val = readl(pmc_base + PMC_PAD_CFG);
val = readl(pmc_base + PMC_TRIGGERS);