summaryrefslogtreecommitdiffstats
path: root/drivers/pci/quirks.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2009-09-14 22:25:11 +0200
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-09-14 22:38:55 +0200
commite9d8288871efa0d98a1d1d1f17976b5b00a0234d (patch)
treed446e04d904afeb5bda9598ec526d9beef2c5e95 /drivers/pci/quirks.c
parentPCI Hotplug: convert acpi_pci_detect_ejectable() to take an acpi_handle (diff)
downloadlinux-e9d8288871efa0d98a1d1d1f17976b5b00a0234d.tar.xz
linux-e9d8288871efa0d98a1d1d1f17976b5b00a0234d.zip
PCI / PCIe portdrv: Fix pcie_portdrv_slot_reset()
After commit c82f63e411f1b58427c103bd95af2863b1c96dd1 (PCI: check saved state before restore) pcie_portdrv_slot_reset() may not work correctly if dev->error_state is equal to pci_channel_io_frozen, because dev->state_saved need not be set at that time. Fix this issue by setting dev->state_saved before pci_restore_state() is called in pcie_portdrv_slot_reset(). Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/quirks.c')
0 files changed, 0 insertions, 0 deletions