]> git.baikalelectronics.ru Git - kernel.git/commit
xhci: clear root port wake on bits if controller isn't wake-up capable
authorLu Baolu <baolu.lu@linux.intel.com>
Tue, 24 Jun 2014 14:14:43 +0000 (17:14 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Jun 2014 16:29:35 +0000 (12:29 -0400)
commite834e61875897bc600cc7de501af4942e69b5cd9
treea293dba0617be0258286eaf58405708892ed4b11
parent6782f9f5d7485a970525f05bc4e3ad7a36dc23cd
xhci: clear root port wake on bits if controller isn't wake-up capable

When xHCI PCI host is suspended, if do_wakeup is false in xhci_pci_suspend,
xhci_bus_suspend needs to clear all root port wake on bits. Otherwise some Intel
platforms may get a spurious wakeup, even if PCI PME# is disabled.

This patch should be back-ported to kernels as old as 2.6.37, that
contains the commit ab927682e0ba61d2acaf396a24fa4482d39c1606
"USB: xHCI: bus power management implementation".

Cc: stable@vger.kernel.org # 2.6.37
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-hub.c