]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
arm: tegra: usb_phy: remove duplicate code
authorRakesh Bodla <rbodla@nvidia.com>
Wed, 8 Aug 2012 05:45:31 +0000 (11:15 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 19:31:25 +0000 (12:31 -0700)
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>
Rebase-Id: R3e8f2fc24bdf14a8f89c72d1c8ab88139fcbef18

arch/arm/mach-tegra/tegra3_usb_phy.c

index e6097201b67fa0f6a5e2366c0ddf94b227c3dcc0..328a1cf838d6e028ebc04861b5b38abee528f029 100644 (file)
@@ -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);