summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorJoel Fernandes <agnel.joel@gmail.com>2011-06-25 13:42:47 -0500
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-09-04 11:36:22 +0200
commit3ecfa9525c2d78a9a8d257a7fd664f61dd10fe21 (patch)
treea1bfd649be568b6ecee274df6fdcf95c3427b374 /drivers/usb
parentde701d118380de12a48c8a4fb345e9f909329432 (diff)
downloadu-boot-imx-3ecfa9525c2d78a9a8d257a7fd664f61dd10fe21.zip
u-boot-imx-3ecfa9525c2d78a9a8d257a7fd664f61dd10fe21.tar.gz
u-boot-imx-3ecfa9525c2d78a9a8d257a7fd664f61dd10fe21.tar.bz2
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: Joel A Fernandes <agnel.joel@gmail.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/host/ehci-hcd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c
index 70c02c9..2197119 100644
--- a/drivers/usb/host/ehci-hcd.c
+++ b/drivers/usb/host/ehci-hcd.c
@@ -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. */