From: Jay Cheng Date: Tue, 7 Dec 2010 15:15:32 +0000 (-0500) Subject: usb: host: tegra: Remove clear PORT_RESUME to clear PORT_SUSPEND X-Git-Tag: firefly_0821_release~9833^2~88^2~1 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5f6aa1ffd6d277ed932dbf5feebc1543de67a741;p=firefly-linux-kernel-4.4.55.git usb: host: tegra: Remove clear PORT_RESUME to clear PORT_SUSPEND PORT_SUSPEND bit will be cleared by the host controller when PORT_RESUME change to 0. Change-Id: I94a72f51be1cebee414f11ace89a7e8b3249278d Signed-off-by: Jay Cheng --- diff --git a/drivers/usb/host/ehci-tegra.c b/drivers/usb/host/ehci-tegra.c index b02eabb5a61d..d990c1cd9181 100644 --- a/drivers/usb/host/ehci-tegra.c +++ b/drivers/usb/host/ehci-tegra.c @@ -170,10 +170,6 @@ static int tegra_ehci_hub_control( if (handshake(ehci, status_reg, PORT_RESUME, 0, 2000)) pr_err("%s: timeout waiting for PORT_RESUME\n", __func__); - /* write PORT_RESUME to 0 to clear PORT_SUSPEND bit */ - temp &= ~(PORT_RESUME | PORT_SUSPEND); - ehci_writel(ehci, temp, status_reg); - /* polling PORT_SUSPEND until the controller clear this bit */ if (handshake(ehci, status_reg, PORT_SUSPEND, 0, 2000)) pr_err("%s: timeout waiting for PORT_SUSPEND\n", __func__);