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-08-15 15:10:46 -0600
commita8e156e10efbee3b527f359f77213043ae86c2ba (patch)
tree2c63add208c5abf3632c78ac5f629fc4bfd829c8
parenta2a7aec66af978310d1c92ad6ec005f2f63dfe44 (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. */