diff options
author | Vinod Atyam <vatyam@nvidia.com> | 2012-06-08 14:54:06 +0530 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-06-11 16:01:22 -0700 |
commit | aa6b5519136df2630344e10c27277943408b6fde (patch) | |
tree | 4fcbc1665094797a57ee1b2e2be146aec05763f8 /drivers/usb/host/ehci-tegra.c | |
parent | 2e07c84338f6391c2b9428be511a1fd5ffb4262f (diff) |
usb: ehci: tegra: fix HSIC bus reset issues.
Corrected wIndex in the hub control to call the bus reset sequence properly.
Change-Id: I7d410262d55ad4ad5acfe72e8725616238f863ac
(cherry picked from commit fee4a582584e24e93b9c43446a0d223664d70e6b)
(cherry picked from commit f8b775561696979ad08f53ea3b3c571bc07734bb)
Reviewed-on: http://git-master/r/107593
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Vinod Atyam <vatyam@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/usb/host/ehci-tegra.c')
-rw-r--r-- | drivers/usb/host/ehci-tegra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-tegra.c b/drivers/usb/host/ehci-tegra.c index 98f3d5106a38..c0574ee8642d 100644 --- a/drivers/usb/host/ehci-tegra.c +++ b/drivers/usb/host/ehci-tegra.c @@ -262,7 +262,7 @@ static int tegra_ehci_hub_control( mdelay(4); tegra_usb_phy_post_suspend(tegra->phy); } else if (wValue == USB_PORT_FEAT_RESET) { - if (ehci->reset_done[0] && wIndex == 0) + if (wIndex == 1) tegra_usb_phy_bus_reset(tegra->phy); } else if (wValue == USB_PORT_FEAT_POWER) { if (wIndex == 1) |