]> git.hungrycats.org Git - linux/commitdiff
usb: increase ohci watchdog delay to 275 msec
authorBryan Paluch <bryanpaluch@gmail.com>
Mon, 17 Oct 2016 12:54:46 +0000 (08:54 -0400)
committerSasha Levin <alexander.levin@verizon.com>
Thu, 24 Nov 2016 03:34:14 +0000 (22:34 -0500)
[ Upstream commit ed6d6f8f42d7302f6f9b6245f34927ec20d26c12 ]

Increase ohci watchout delay to 275 ms. Previous delay was 250 ms
with 20 ms of slack, after removing slack time some ohci controllers don't
respond in time. Logs from systems with controllers that have the
issue would show "HcDoneHead not written back; disabled"

Signed-off-by: Bryan Paluch <bryanpaluch@gmail.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
drivers/usb/host/ohci-hcd.c

index d664edabf14ebb36affcc72372c9ca0a0821fa90..af2412f5abab217571fa5f08907f8ea1f77262f4 100644 (file)
@@ -72,7 +72,7 @@
 static const char      hcd_name [] = "ohci_hcd";
 
 #define        STATECHANGE_DELAY       msecs_to_jiffies(300)
-#define        IO_WATCHDOG_DELAY       msecs_to_jiffies(250)
+#define        IO_WATCHDOG_DELAY       msecs_to_jiffies(275)
 
 #include "ohci.h"
 #include "pci-quirks.h"