From 5f6aa1ffd6d277ed932dbf5feebc1543de67a741 Mon Sep 17 00:00:00 2001 From: Jay Cheng Date: Tue, 7 Dec 2010 10:15:32 -0500 Subject: [PATCH] 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 --- drivers/usb/host/ehci-tegra.c | 4 ---- 1 file changed, 4 deletions(-) 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__); -- 2.34.1