mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 05:17:10 +09:00
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:
@@ -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__);
|
||||
|
||||
Reference in New Issue
Block a user