diff options
author | Seshendra Gadagottu <sgadagottu@nvidia.com> | 2011-12-28 19:06:57 +0530 |
---|---|---|
committer | Varun Wadekar <vwadekar@nvidia.com> | 2011-12-30 10:51:46 +0530 |
commit | c7627fe8d01e90c66a469dfee6088c020f881210 (patch) | |
tree | d60f893672e2932f4bef76283f12d1fa173cdc06 /drivers/usb | |
parent | ec68b0ceec876ea62394707f886d97caaf8174cf (diff) |
usb: tegra: hsic system resume issue
Fixed system resume issue with hsic phy interface by
removing "usb_set_device_state(udev, USB_STATE_CONFIGURED)"
from tegra_usb_resume function. This line was added for old
kernels and not required for K39.
BUG 905931
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Change-Id: I53e34b4d46de23e88eedc02ca1fb4f380d6c1525
Reviewed-on: http://git-master/r/72403
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/host/ehci-tegra.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/usb/host/ehci-tegra.c b/drivers/usb/host/ehci-tegra.c index 5da5a8f0de99..c76f495b6bd2 100644 --- a/drivers/usb/host/ehci-tegra.c +++ b/drivers/usb/host/ehci-tegra.c @@ -648,10 +648,9 @@ restart: tegra_ehci_phy_restore_end(tegra->phy); if (hsic) { val = readl(&hw->port_status[0]); - if (!((val & PORT_POWER) && (val & PORT_PE))) { + if (!((val & PORT_POWER) && (val & PORT_PE))) tegra_ehci_restart(hcd, false); - usb_set_device_state(udev, USB_STATE_CONFIGURED); - } + tegra_usb_phy_bus_idle(tegra->phy); tegra->hsic_connect_retries = 0; if (!tegra_usb_phy_is_device_connected(tegra->phy)) |