diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2009-09-14 22:25:11 +0200 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-09-14 13:38:55 -0700 |
commit | e9d8288871efa0d98a1d1d1f17976b5b00a0234d (patch) | |
tree | d446e04d904afeb5bda9598ec526d9beef2c5e95 /lib/swiotlb.c | |
parent | 7f53866932fd08add06ee2f93ead129949158490 (diff) |
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 'lib/swiotlb.c')
0 files changed, 0 insertions, 0 deletions