From c7627fe8d01e90c66a469dfee6088c020f881210 Mon Sep 17 00:00:00 2001 From: Seshendra Gadagottu Date: Wed, 28 Dec 2011 19:06:57 +0530 Subject: 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 Change-Id: I53e34b4d46de23e88eedc02ca1fb4f380d6c1525 Reviewed-on: http://git-master/r/72403 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Seshendra Gadagottu Tested-by: Seshendra Gadagottu Reviewed-by: Venkat Moganty --- drivers/usb/host/ehci-tegra.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'drivers/usb') 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)) -- cgit v1.2.3