mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 19:53:59 +08:00
[SCSI] megaraid_sas: Fix fault state handling
The following patch for megaraid_sas fixes fault state handling in megasas_transition_to_ready(). Signed-off-by: Adam Radford <aradford@gmail.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
This commit is contained in:
parent
f86c5424b0
commit
1ac515ef3f
@ -2613,7 +2613,9 @@ megasas_transition_to_ready(struct megasas_instance* instance)
|
||||
case MFI_STATE_FAULT:
|
||||
|
||||
printk(KERN_DEBUG "megasas: FW in FAULT state!!\n");
|
||||
return -ENODEV;
|
||||
max_wait = MEGASAS_RESET_WAIT_TIME;
|
||||
cur_state = MFI_STATE_FAULT;
|
||||
break;
|
||||
|
||||
case MFI_STATE_WAIT_HANDSHAKE:
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user