projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae97c91
)
[SCSI] qla2xxx: EEH: Restore PCI saved state during pci slot reset.
author
Richard Lary
<rlary@us.ibm.com>
Thu, 18 Feb 2010 18:07:29 +0000
(10:07 -0800)
committer
James Bottomley
<James.Bottomley@suse.de>
Fri, 19 Feb 2010 16:47:15 +0000
(10:47 -0600)
Cc: stable@kernel.org
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/qla2xxx/qla_os.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/qla2xxx/qla_os.c
b/drivers/scsi/qla2xxx/qla_os.c
index
a1aef66
..
46720b2
100644
(file)
--- a/
drivers/scsi/qla2xxx/qla_os.c
+++ b/
drivers/scsi/qla2xxx/qla_os.c
@@
-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