提交 3ecfa952 编写于 作者: J Joel Fernandes 提交者: Albert ARIBAUD

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: NJoel A Fernandes <agnel.joel@gmail.com>
Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
上级 de701d11
......@@ -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. */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册