forked from luck/tmp_suning_uos_patched
[SCSI] qla2xxx: EEH: Restore PCI saved state during pci slot reset.
Cc: stable@kernel.org Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
This commit is contained in:
parent
ae97c91eb1
commit
8c1496bda8
@ -3362,6 +3362,11 @@ qla2xxx_pci_slot_reset(struct pci_dev *pdev)
|
||||
|
||||
pci_restore_state(pdev);
|
||||
|
||||
/* pci_restore_state() clears the saved_state flag of the device
|
||||
* save restored state which resets saved_state flag
|
||||
*/
|
||||
pci_save_state(pdev);
|
||||
|
||||
if (ha->mem_only)
|
||||
rc = pci_enable_device_mem(pdev);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user