diff options
author | Kashyap, Desai <kashyap.desai@lsi.com> | 2010-06-17 14:42:39 +0530 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-07-27 12:02:35 -0500 |
commit | b9a0f872a9ff3b5074c74da98052b5205929b560 (patch) | |
tree | 08c343979940a909917588bca84e2b98670bf985 /drivers | |
parent | cc7e9f5f9999d9c015686ab4a622e1fb529391eb (diff) | |
download | kernel_samsung_tuna-b9a0f872a9ff3b5074c74da98052b5205929b560.zip kernel_samsung_tuna-b9a0f872a9ff3b5074c74da98052b5205929b560.tar.gz kernel_samsung_tuna-b9a0f872a9ff3b5074c74da98052b5205929b560.tar.bz2 |
[SCSI] mptfusion: Added missing reset for ioc_reset_in_progress in SoftReset
Added missing part which will reset ioc_reset_in_progress before returning from SoftResetHandler.
Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/message/fusion/mptbase.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/message/fusion/mptbase.c b/drivers/message/fusion/mptbase.c index 49005e1..d0855f2 100644 --- a/drivers/message/fusion/mptbase.c +++ b/drivers/message/fusion/mptbase.c @@ -6974,6 +6974,7 @@ mpt_SoftResetHandler(MPT_ADAPTER *ioc, int sleepFlag) spin_lock_irqsave(&ioc->taskmgmt_lock, flags); if (ioc->taskmgmt_in_progress) { + ioc->ioc_reset_in_progress = 0; spin_unlock_irqrestore(&ioc->taskmgmt_lock, flags); return -1; } |