]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
xhci: workaround for AMD Promontory disabled ports wakeup
authorJoe Lee <asmt.swfae@gmail.com>
Mon, 12 Feb 2018 12:24:46 +0000 (14:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Feb 2018 17:36:19 +0000 (18:36 +0100)
commitbde0716d1f076e4c913c7946bcc858f71243c7a0
tree8a36f252fec553b89fa15e60a2e992c390bb3154
parent7928b2cbe55b2a410a0f5c1f154610059c57b1b2
xhci: workaround for AMD Promontory disabled ports wakeup

For AMD Promontory xHCI host, although you can disable USB ports in
BIOS settings, those ports will be enabled anyway after you remove a
device on that port and re-plug it in again. It's a known limitation of
the chip. As a workaround we can clear the PORT_WAKE_BITS.

[commit and code comment rephrasing -Mathias]
Signed-off-by: Joe Lee <asmt.swfae@gmail.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/pci-quirks.c
drivers/usb/host/pci-quirks.h
drivers/usb/host/xhci-hub.c
drivers/usb/host/xhci-pci.c
drivers/usb/host/xhci.h