]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/usb/host/ohci-hub.c
USB: OHCI: make URB completions single-threaded
[karo-tx-linux.git] / drivers / usb / host / ohci-hub.c
index b4940de1eba34b4bb3dabc2eecf4533f01076678..8991692bcfb8bef6c311d366b38d144bf4298a0c 100644 (file)
@@ -39,8 +39,8 @@
 #define OHCI_SCHED_ENABLES \
        (OHCI_CTRL_CLE|OHCI_CTRL_BLE|OHCI_CTRL_PLE|OHCI_CTRL_IE)
 
-static void dl_done_list (struct ohci_hcd *);
-static void finish_unlinks (struct ohci_hcd *, u16);
+static void update_done_list(struct ohci_hcd *);
+static void ohci_work(struct ohci_hcd *);
 
 #ifdef CONFIG_PM
 static int ohci_rh_suspend (struct ohci_hcd *ohci, int autostop)
@@ -87,8 +87,8 @@ __acquires(ohci->lock)
                msleep (8);
                spin_lock_irq (&ohci->lock);
        }
-       dl_done_list (ohci);
-       finish_unlinks (ohci, ohci_frame_no(ohci));
+       update_done_list(ohci);
+       ohci_work(ohci);
 
        /*
         * Some controllers don't handle "global" suspend properly if