diff options
author | Venkat Moganty <vmoganty@nvidia.com> | 2011-09-27 19:56:09 +0530 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2011-09-28 17:29:26 -0700 |
commit | 9a5568a2fdb4ffa164cd081ea126e2e269ebc593 (patch) | |
tree | b2d8308282c11800eea1e0d58ce0973424a047af | |
parent | 61b7e4e8a1775b5270e335a6f8e3e48619607573 (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
Reviewed-on: http://git-master/r/54735
(cherry picked from commit 6cd23a5ae9f4297d8f7be72daa334a91a80de885)
Change-Id: I7c10db85cd534c04bf271b8c744986ea7cbb97be
Reviewed-on: http://git-master/r/54875
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
Tested-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
-rw-r--r-- | arch/arm/mach-tegra/usb_phy.c | 5 |
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 150154fe23fb..b3bcab65d4b3 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); |