diff options
Diffstat (limited to 'drivers/usb/host/ehci-sched.c')
-rw-r--r-- | drivers/usb/host/ehci-sched.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/drivers/usb/host/ehci-sched.c b/drivers/usb/host/ehci-sched.c index e7a3b087083f..39340ae00ac4 100644 --- a/drivers/usb/host/ehci-sched.c +++ b/drivers/usb/host/ehci-sched.c | |||
@@ -2324,9 +2324,13 @@ restart: | |||
2324 | * No need to check for activity unless the | 2324 | * No need to check for activity unless the |
2325 | * frame is current. | 2325 | * frame is current. |
2326 | */ | 2326 | */ |
2327 | if (frame == clock_frame && live && | 2327 | if (((frame == clock_frame) || |
2328 | (q.sitd->hw_results & | 2328 | (((frame + 1) % ehci->periodic_size) |
2329 | SITD_ACTIVE(ehci))) { | 2329 | == clock_frame)) |
2330 | && live | ||
2331 | && (q.sitd->hw_results & | ||
2332 | SITD_ACTIVE(ehci))) { | ||
2333 | |||
2330 | incomplete = true; | 2334 | incomplete = true; |
2331 | q_p = &q.sitd->sitd_next; | 2335 | q_p = &q.sitd->sitd_next; |
2332 | hw_p = &q.sitd->hw_next; | 2336 | hw_p = &q.sitd->hw_next; |