usb: phy: tegra: increase the timeout for phy clk
Preetham Chandru R [Mon, 21 Apr 2014 11:34:12 +0000 (16:34 +0530)]
Increase the timeout for phy clk to stabilize

Bug 1485579

Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Change-Id: Ic73436dd5b74f327707b0c36ef0323d6decd9c67
Reviewed-on: http://git-master/r/408597
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>

drivers/usb/phy/tegra11x_usb_phy.c

index 426a2e6..f690691 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * drivers/usb/phy/tegra11x_usb_phy.c
  *
- * Copyright (c) 2012-2013 NVIDIA Corporation. All rights reserved.
+ * Copyright (c) 2012-2014 NVIDIA Corporation. All rights reserved.
  *
  *
  * This software is licensed under the terms of the GNU General Public
@@ -1023,7 +1023,7 @@ static int utmi_phy_power_on(struct tegra_usb_phy *phy)
        utmi_phy_iddq_override(false);
 
        if (usb_phy_reg_status_wait(base + USB_SUSP_CTRL,
-               USB_PHY_CLK_VALID, USB_PHY_CLK_VALID, 2500))
+               USB_PHY_CLK_VALID, USB_PHY_CLK_VALID, 2600))
                pr_warn("%s: timeout waiting for phy to stabilize\n", __func__);
 
        val = readl(base + HOSTPC1_DEVLC);