aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel A Fernandes <agnel.joel@gmail.com>2011-06-29 18:17:26 +0100
committerJohn Rigby <john.rigby@linaro.org>2011-06-30 11:54:29 +0100
commit7aefc3e9439dc69ff1b7997d6258ab11758cd598 (patch)
treea67b663681ba5f7fedd35e4c9ec3f47794a32adc
parentaaaedc32835a43fe1bd4bb5fcd3740303798c05a (diff)
ehci-hcd: Allow cleanups to happen on an EHCI
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>
-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 70c02c9de..2197119cf 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. */