mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 17:51:43 +00:00
[SCSI] megaraid_sas: Clear FUSION_IN_RESET before enabling interrupts
Signed-off-by: Adam Radford <aradford@gmail.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
This commit is contained in:
parent
6497b2475d
commit
3f0e58bc8f
@ -2179,6 +2179,8 @@ int megasas_reset_fusion(struct Scsi_Host *shost)
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
clear_bit(MEGASAS_FUSION_IN_RESET,
|
||||||
|
&instance->reset_flags);
|
||||||
instance->instancet->enable_intr(instance->reg_set);
|
instance->instancet->enable_intr(instance->reg_set);
|
||||||
instance->adprecovery = MEGASAS_HBA_OPERATIONAL;
|
instance->adprecovery = MEGASAS_HBA_OPERATIONAL;
|
||||||
|
|
||||||
@ -2240,6 +2242,7 @@ int megasas_reset_fusion(struct Scsi_Host *shost)
|
|||||||
megaraid_sas_kill_hba(instance);
|
megaraid_sas_kill_hba(instance);
|
||||||
retval = FAILED;
|
retval = FAILED;
|
||||||
} else {
|
} else {
|
||||||
|
clear_bit(MEGASAS_FUSION_IN_RESET, &instance->reset_flags);
|
||||||
instance->instancet->enable_intr(instance->reg_set);
|
instance->instancet->enable_intr(instance->reg_set);
|
||||||
instance->adprecovery = MEGASAS_HBA_OPERATIONAL;
|
instance->adprecovery = MEGASAS_HBA_OPERATIONAL;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user