[SCSI] qla2xxx: Add acquiring of risc semaphore before doing ISP reset.
authorJoe Carnuccio <joe.carnuccio@qlogic.com>
Wed, 21 Nov 2012 07:40:37 +0000 (02:40 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 30 Nov 2012 15:11:16 +0000 (15:11 +0000)
Try to acquire the semaphore; if semaphore is hung then acquire it by force.
The ISP reset clears the semaphore, thereby implicitly releasing it.

Signed-off-by: Joe Carnuccio <joe.carnuccio@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>

No differences found