summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRakesh Bodla <rbodla@nvidia.com>2012-08-08 11:15:31 +0530
committerVarun Wadekar <vwadekar@nvidia.com>2012-08-10 12:28:42 +0530
commitdcf8dd248b3d28ec6af8c6cb776a7123c0f26903 (patch)
treea8126b9a94c6e14d5c553ddffc2e9a261fc66068
parente95f414806a74d048ca05d54a06877216e69b6d7 (diff)
arm: tegra: usb_phy: remove duplicate code
Remove duplicate code. Change-Id: I9c9979f489d93c458f5e494fbb69008b89578b8d Signed-off-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-on: http://git-master/r/121988 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
-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 e6097201b67f..328a1cf838d6 100644
--- a/arch/arm/mach-tegra/tegra3_usb_phy.c
+++ b/arch/arm/mach-tegra/tegra3_usb_phy.c
@@ -638,12 +638,6 @@ static void utmip_setup_pmc_wake_detect(struct tegra_usb_phy *phy)
writel(val, pmc_base + PMC_UTMIP_UHSIC_FAKE);
/* Enable which type of event can trigger a walk,
- in this case usb_line_wake */
- val = readl(pmc_base + PMC_SLEEPWALK_CFG);
- val |= UTMIP_LINEVAL_WALK_EN(inst);
- writel(val, pmc_base + PMC_SLEEPWALK_CFG);
-
- /* Enable which type of event can trigger a walk,
* in this case usb_line_wake */
val = readl(pmc_base + PMC_SLEEPWALK_CFG);
val |= UTMIP_LINEVAL_WALK_EN(inst);