IRQ: Maintain regs pointer globally rather than passing to IRQ handlers
[firefly-linux-kernel-4.4.55.git] / drivers / usb / host / ehci-hub.c
index b2ee13c58517cc9182fccc533c7c5ca4aff0c77a..2012213c0a254c719738c9a7ddd0f2bd46f002fb 100644 (file)
@@ -48,8 +48,8 @@ static int ehci_bus_suspend (struct usb_hcd *hcd)
        }
        ehci->command = readl (&ehci->regs->command);
        if (ehci->reclaim)
-               end_unlink_async (ehci, NULL);
-       ehci_work(ehci, NULL);
+               end_unlink_async (ehci);
+       ehci_work(ehci);
 
        /* suspend any active/unsuspended ports, maybe allow wakeup */
        while (port--) {