Comment 22 for bug 1630063

Revision history for this message
Bryan P (bryanpaluch) wrote :

I was able to fix the issue by changing the IO_WATCHDOG_DELAY in ohci-hcd.c from 250 msec to 275 msec. I suspect that the new timer wheel based timers in 4.8 have exposed a bug in the ohci driver. Before the io watchdog timer was set to 250 with 20 msecs of slack time. This is more than likely just a hack work around but I'm able to use my usb headphones now. Here's my diff

-bpaluch/media/bpaluch/f0c7f0e5-1628-458e-b05c-a92f73e9ed11/builds/ubuntu-yakkety ((e658052...))$ git diff
diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c
index 1700908..86612ac 100644
--- a/drivers/usb/host/ohci-hcd.c
+++ b/drivers/usb/host/ohci-hcd.c
@@ -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"