linux/drivers/pci/pcie
Rafael J. Wysocki e7ae884866 PCI: PCIe portdrv: Fix suspend and resume of PCI Express port services
There is a problem with the suspend and resume of PCI Express port
service devices that the ->suspend() and ->resume() routines of each
service device are called twice in each suspend-resume cycle, which
is obviously wrong.

The scenario is that first, the PCI Express port driver calls
suspend and resume routines of each port service driver from its
pcie_portdrv_suspend() and pcie_portdrv_resume() callbacks,
respectively (which is correct), and second, the pcie_port_bus_type
driver calls them from its ->suspend() and ->resume() callbacks
(which is not correct, because it doesn't happen at the right time).

The solution is to remove the ->suspend() and ->resume() callbacks
from pcie_port_bus_type and the associated functions.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2009-01-07 11:13:26 -08:00
..
aer PCI hotplug: aerdrv: fix a typo in error message 2009-01-07 11:12:41 -08:00
Kconfig PCI Express ASPM support should default to 'No' 2008-04-23 15:41:14 -07:00
Makefile PCI: add PCI Express ASPM support 2008-04-20 21:47:03 -07:00
aspm.c PCI: keep ASPM link state consistent throughout PCIe hierarchy 2009-01-07 11:13:20 -08:00
portdrv.h PCI: fix AER capability check 2008-10-20 11:01:52 -07:00
portdrv_bus.c PCI: PCIe portdrv: Fix suspend and resume of PCI Express port services 2009-01-07 11:13:26 -08:00
portdrv_core.c PCI: PCIe portdrv: Fix suspend and resume of PCI Express port services 2009-01-07 11:13:26 -08:00
portdrv_pci.c PCI PM: Split PCI Express port suspend-resume 2009-01-07 11:13:08 -08:00