USB: EHCI: use hrtimer for the periodic schedule
[firefly-linux-kernel-4.4.55.git] / drivers / usb / host / ehci-hcd.c
index f8fed163a23a26774877eac28a26c707c0d2619c..7e00ca095cea1f58e42b63cf013ab5ab92338508 100644 (file)
@@ -546,7 +546,7 @@ static void ehci_work (struct ehci_hcd *ehci)
         */
        if (ehci->rh_state == EHCI_RH_RUNNING &&
                        (ehci->async->qh_next.ptr != NULL ||
-                        ehci->periodic_sched != 0))
+                        ehci->periodic_count != 0))
                timer_action (ehci, TIMER_IO_WATCHDOG);
 }