summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoit Goby <benoit@android.com>2011-06-29 14:35:57 -0700
committerManish Tuteja <mtuteja@nvidia.com>2011-07-13 07:56:59 -0700
commitaca370650ce7e96552a299d1b4c0952223b65365 (patch)
tree4fa5f694c781ca5bd5cc693ae5d1b27e74b45998
parentc10173d70affb7117284b57fb0870c90823a5880 (diff)
usb: host: ehci: Increase IAA watchdog
The IAA watchdog has been added to work around flaky controllers that sometimes miss IAA interrupts. We don't need it on Tegra and it is known to cause panics. Increase it to a large value to make sure it does not fire unexpectedly. Signed-off-by: Benoit Goby <benoit@android.com> Reviewed-on: http://git-master/r/40065 (cherry picked from commit efd61c3725c8759b42550a97e9867e46a77dbf10) Change-Id: Ia35b06cd9d8f7948ee33aa5793a63d6e929df7f4 Reviewed-on: http://git-master/r/40634 Tested-by: Cho-Che Cheng <jacheng@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
-rw-r--r--drivers/usb/host/ehci-hcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c
index 36ec66bb995e..c28fd0edec50 100644
--- a/drivers/usb/host/ehci-hcd.c
+++ b/drivers/usb/host/ehci-hcd.c
@@ -87,7 +87,7 @@ static const char hcd_name [] = "ehci_hcd";
*/
#define EHCI_TUNE_FLS 1 /* (medium) 512-frame schedule */
-#define EHCI_IAA_MSECS 10 /* arbitrary */
+#define EHCI_IAA_MSECS 10000 /* arbitrary */
#define EHCI_IO_JIFFIES (HZ/10) /* io watchdog > irq_thresh */
#define EHCI_ASYNC_JIFFIES (HZ/20) /* async idle timeout */
#define EHCI_SHRINK_FRAMES 5 /* async qh unlink delay */