Skip to content
Snippets Groups Projects
Commit 3ecfa952 authored by Joel Fernandes's avatar Joel Fernandes Committed by Albert ARIBAUD
Browse files

ehci-hcd: Allow cleanups to happen gracefully on a timeout.


With this, the EHCI seems to "recover" from a timeout. This is particularly
observable if you were to ping the wrong IP Address and then ping the correct
one or if there was a temporary failure during tftp sessions.

All it takes is one timeout to disable it. If you have a noisy network (lot
of traffic), even if the traffic is not for the board, the timeouts don't occur.

Signed-off-by: default avatarJoel A Fernandes <agnel.joel@gmail.com>
Signed-off-by: default avatarSandeep Paulraj <s-paulraj@ti.com>
parent de701d11
No related branches found
No related tags found
No related merge requests found
......@@ -461,7 +461,6 @@ ehci_submit_async(struct usb_device *dev, unsigned long pipe, void *buffer,
/* Check that the TD processing happened */
if (token & 0x80) {
printf("EHCI timed out on TD - token=%#x\n", token);
goto fail;
}
/* Disable async schedule. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment