]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/usb/host/xhci.h
xhci: Fix perceived dead host due to runtime suspend race with event handler
[mirror_ubuntu-bionic-kernel.git] / drivers / usb / host / xhci.h
index b2027fad64a6a0a26fe23cc9d003c0964c9cef36..b1432a5bad9d42661b04410ba5d4864d564f5f9e 100644 (file)
@@ -382,6 +382,10 @@ struct xhci_op_regs {
 #define PORT_PLC       (1 << 22)
 /* port configure error change - port failed to configure its link partner */
 #define PORT_CEC       (1 << 23)
+#define PORT_CHANGE_MASK       (PORT_CSC | PORT_PEC | PORT_WRC | PORT_OCC | \
+                                PORT_RC | PORT_PLC | PORT_CEC)
+
+
 /* Cold Attach Status - xHC can set this bit to report device attached during
  * Sx state. Warm port reset should be perfomed to clear this bit and move port
  * to connected state.