diff options
Diffstat (limited to 'drivers/usb/host/ehci.h')
-rw-r--r-- | drivers/usb/host/ehci.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci.h b/drivers/usb/host/ehci.h index 90245fd8bac4..5799298364fb 100644 --- a/drivers/usb/host/ehci.h +++ b/drivers/usb/host/ehci.h | |||
@@ -198,7 +198,10 @@ timer_action (struct ehci_hcd *ehci, enum ehci_timer_action action) | |||
198 | break; | 198 | break; |
199 | // case TIMER_ASYNC_SHRINK: | 199 | // case TIMER_ASYNC_SHRINK: |
200 | default: | 200 | default: |
201 | t = EHCI_SHRINK_JIFFIES; | 201 | /* add a jiffie since we synch against the |
202 | * 8 KHz uframe counter. | ||
203 | */ | ||
204 | t = DIV_ROUND_UP(EHCI_SHRINK_FRAMES * HZ, 1000) + 1; | ||
202 | break; | 205 | break; |
203 | } | 206 | } |
204 | mod_timer(&ehci->watchdog, t + jiffies); | 207 | mod_timer(&ehci->watchdog, t + jiffies); |