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 <jacheng@nvidia.com>
This commit is contained in:
Jay Cheng 2010-12-07 10:15:32 -05:00 committed by Benoit Goby
parent c6b65e02b3
commit 5f6aa1ffd6

View File

@ -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__);