projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc7e9f5
)
[SCSI] mptfusion: Added missing reset for ioc_reset_in_progress in SoftReset
author
Kashyap, Desai
<kashyap.desai@lsi.com>
Thu, 17 Jun 2010 09:12:39 +0000
(14:42 +0530)
committer
James Bottomley
<James.Bottomley@suse.de>
Tue, 27 Jul 2010 17:02:35 +0000
(12:02 -0500)
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>
drivers/message/fusion/mptbase.c
patch
|
blob
|
history
diff --git
a/drivers/message/fusion/mptbase.c
b/drivers/message/fusion/mptbase.c
index 49005e151058d65497984cb6e49acd6a29a05d2b..d0855f278db47939785b89c55da6192b450df7d8 100644
(file)
--- 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;
}