ARM: tegra: usb_phy: Disable HS disconnect detect for USB2 port
Nathan Connell [Thu, 18 Nov 2010 17:12:37 +0000 (11:12 -0600)]
Signed-off-by: Nathan Connell <w14185@motorola.com>
Change-Id: Ia0c24128af0f1def38d0902b15a274582c302ce2

Rebase-Id: R023f36e4adfcc26eaad472d4f29ab8d0e10bcc7b

drivers/usb/phy/phy-tegra-usb.c

index 9d13c81..e540514 100644 (file)
@@ -373,6 +373,8 @@ static int utmi_phy_power_on(struct tegra_usb_phy *phy)
 
        val = readl(base + UTMIP_TX_CFG0);
        val &= ~UTMIP_FS_PREABMLE_J;
+       if (phy->instance == 2)
+               val |= UTMIP_HS_DISCON_DISABLE;
        writel(val, base + UTMIP_TX_CFG0);
 
        val = readl(base + UTMIP_HSRX_CFG0);