]> git.baikalelectronics.ru Git - kernel.git/commit
xhci: Workaround for PME stuck issues in Intel xhci
authorMathias Nyman <mathias.nyman@linux.intel.com>
Fri, 6 Mar 2015 15:23:19 +0000 (17:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Mar 2015 17:47:48 +0000 (09:47 -0800)
commita190232ea811d9cd8a2f926bb3e3d9ff48f8810e
tree4eac133da2e31268645eb19dcf5ea1d837449b26
parent9ba6a10230a32db1f3ddb223de85d086e06d302c
xhci: Workaround for PME stuck issues in Intel xhci

The xhci in Intel Sunrisepoint and Cherryview platforms need a driver
workaround for a Stuck PME that might either block PME events in suspend,
or create spurious PME events preventing runtime suspend.

Workaround is to clear a internal PME flag, BIT(28) in a vendor specific
PMCTRL register at offset 0x80a4, in both suspend resume callbacks

Without this, xhci connected usb devices might never be able to wake up the
system from suspend, or prevent device from going to suspend (xhci d3)

Cc: <stable@vger.kernel.org>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-pci.c
drivers/usb/host/xhci.h