summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVenkat Moganty <vmoganty@nvidia.com>2011-09-27 19:56:09 +0530
committerSimone Willett <swillett@nvidia.com>2011-09-27 15:25:50 -0700
commit6cd23a5ae9f4297d8f7be72daa334a91a80de885 (patch)
tree856c3af0ab295e6d524a4743d078ef232da2836e
parenta7b9fd1a1cf2d99db16acf3bc6aa4da44f1d38c2 (diff)
arm:tegra:usb_phy: Fix remote wakeup for FS devices
During remote wakeup 2LS WAR is getting executed which is required only for HS devices. Removed 2LS bit time WAR for FS and LS devices. Bug 805906 Change-Id: I11278e42205bf95a09ec387c963d3cdb187b6edd Reviewed-on: http://git-master/r/54735 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
-rw-r--r--arch/arm/mach-tegra/usb_phy.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/usb_phy.c b/arch/arm/mach-tegra/usb_phy.c
index be02ae408233..e147b10d32fe 100644
--- a/arch/arm/mach-tegra/usb_phy.c
+++ b/arch/arm/mach-tegra/usb_phy.c
@@ -1532,8 +1532,9 @@ static void utmi_phy_restore_start(struct tegra_usb_phy *phy,
}
}
- /* (2LS WAR)is not required for LS devices and is only for HS */
- if (port_speed == TEGRA_USB_PHY_PORT_SPEED_LOW) {
+ /* (2LS WAR)is not required for LS and FS devices and is only for HS */
+ if ((port_speed == TEGRA_USB_PHY_PORT_SPEED_LOW) ||
+ (port_speed == TEGRA_USB_PHY_PORT_SPEED_FULL)) {
/* do not enable the OBS bus */
val = readl(base + UTMIP_MISC_CFG0);
val &= ~UTMIP_DPDM_OBSERVE_SEL(~0);