From dcf8dd248b3d28ec6af8c6cb776a7123c0f26903 Mon Sep 17 00:00:00 2001 From: Rakesh Bodla Date: Wed, 8 Aug 2012 11:15:31 +0530 Subject: arm: tegra: usb_phy: remove duplicate code Remove duplicate code. Change-Id: I9c9979f489d93c458f5e494fbb69008b89578b8d Signed-off-by: Rakesh Bodla Reviewed-on: http://git-master/r/121988 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Venkat Moganty --- arch/arm/mach-tegra/tegra3_usb_phy.c | 6 ------ 1 file changed, 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 @@ -637,12 +637,6 @@ static void utmip_setup_pmc_wake_detect(struct tegra_usb_phy *phy) val &= ~USBON_VAL(inst); 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); -- cgit v1.2.3