xHCI: keep track of ports being resumed and indicate in hub_status_data
[firefly-linux-kernel-4.4.55.git] / drivers / usb / host / xhci.h
index 3d69c4b2b54277d57e6cb15cbf403127d70aeb1f..ce1edd7246aa4fb3430c3f4391753658999d5585 100644 (file)
@@ -1362,6 +1362,8 @@ struct xhci_bus_state {
        u32                     suspended_ports;
        u32                     port_remote_wakeup;
        unsigned long           resume_done[USB_MAXCHILDREN];
+       /* which ports have started to resume */
+       unsigned long           resuming_ports;
 };
 
 static inline unsigned int hcd_index(struct usb_hcd *hcd)