Commit b416191a authored by Chris Zhang's avatar Chris Zhang Committed by Remy Bohmer
Browse files

Fix EHCI port reset.

In USB ehci driver, the port reset is not terminated. EHCI spec says "A host
 controller must terminate the reset and stabilize the state of the port within
 2 milliseconds". Without termination, a port stays at reset state. This is
 observed on ppc4xx(sequoia) boards.
Signed-off-by: default avatarChris Zhang <>
parent b301be05
......@@ -708,6 +708,9 @@ ehci_submit_root(struct usb_device *dev, unsigned long pipe, void *buffer,
* root
/* terminate the reset */
ehci_writel(status_reg, reg & ~EHCI_PS_PR);
portreset |= 1 << le16_to_cpu(req->index);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment