“c85bb41e93184bf5494dde6d8fe5a81b564c84c8”上不存在“include/git@gitcode.net:openeuler/kernel.git”
提交 3f0e58bc 编写于 作者: A adam radford 提交者: James Bottomley

[SCSI] megaraid_sas: Clear FUSION_IN_RESET before enabling interrupts

Signed-off-by: NAdam Radford <aradford@gmail.com>
Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
上级 6497b247
......@@ -2179,6 +2179,8 @@ int megasas_reset_fusion(struct Scsi_Host *shost)
continue;
}
clear_bit(MEGASAS_FUSION_IN_RESET,
&instance->reset_flags);
instance->instancet->enable_intr(instance->reg_set);
instance->adprecovery = MEGASAS_HBA_OPERATIONAL;
......@@ -2240,6 +2242,7 @@ int megasas_reset_fusion(struct Scsi_Host *shost)
megaraid_sas_kill_hba(instance);
retval = FAILED;
} else {
clear_bit(MEGASAS_FUSION_IN_RESET, &instance->reset_flags);
instance->instancet->enable_intr(instance->reg_set);
instance->adprecovery = MEGASAS_HBA_OPERATIONAL;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册