diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2009-01-01 18:51:15 (GMT) |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-01-07 19:13:26 (GMT) |
commit | e7ae88486670f3904f187d0fff9dcf469bcdd8ba (patch) | |
tree | c2a1ff5cb3a8b24778789720f9a64f59e679dfd0 /arch/sparc/lib/NGcopy_from_user.S | |
parent | facf6d1627a33badbbc154524c4a2c73c51bdc99 (diff) | |
download | linux-fsl-qoriq-e7ae88486670f3904f187d0fff9dcf469bcdd8ba.tar.xz |
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>
Diffstat (limited to 'arch/sparc/lib/NGcopy_from_user.S')
0 files changed, 0 insertions, 0 deletions