projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24d6f2b
)
[SCSI] ipr: PCI unblock config access fix
author
Brian King
<brking@linux.vnet.ibm.com>
Thu, 29 Mar 2007 17:43:23 +0000
(12:43 -0500)
committer
James Bottomley
<jejb@mulgrave.il.steeleye.com>
Sun, 1 Apr 2007 16:17:42 +0000
(11:17 -0500)
Fix to make sure user config accesses get re-enabled if the
PCI config write to start BIST fails.
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/ipr.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/ipr.c
b/drivers/scsi/ipr.c
index fc1171c7def40aafc1cb5bd3c1499bb6a52318b2..b502c831cc5e7ba927644d1413a01f7db939eec4 100644
(file)
--- a/
drivers/scsi/ipr.c
+++ b/
drivers/scsi/ipr.c
@@
-6390,6
+6390,7
@@
static int ipr_reset_start_bist(struct ipr_cmnd *ipr_cmd)
rc = pci_write_config_byte(ioa_cfg->pdev, PCI_BIST, PCI_BIST_START);
if (rc != PCIBIOS_SUCCESSFUL) {
+ pci_unblock_user_cfg_access(ipr_cmd->ioa_cfg->pdev);
ipr_cmd->ioasa.ioasc = cpu_to_be32(IPR_IOASC_PCI_ACCESS_ERROR);
rc = IPR_RC_JOB_CONTINUE;
} else {