projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efcdf9f
)
qla2xxx: ISPFX00 avoid writing semaphore register in request_irqs().
author
Joe Carnuccio
<joe.carnuccio@qlogic.com>
Thu, 25 Sep 2014 09:16:42 +0000
(
05:16
-0400)
committer
Christoph Hellwig
<hch@lst.de>
Thu, 25 Sep 2014 12:25:02 +0000
(14:25 +0200)
Semaphore register does not exist for ISPFx00.
Signed-off-by: Joe Carnuccio <joe.carnuccio@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/qla2xxx/qla_isr.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/qla2xxx/qla_isr.c
b/drivers/scsi/qla2xxx/qla_isr.c
index a0992bfab7bf470caf518ca5c62c27e64a98811f..223c1a89af5cb3acb66c0a5d95b7905af9183a0e 100644
(file)
--- a/
drivers/scsi/qla2xxx/qla_isr.c
+++ b/
drivers/scsi/qla2xxx/qla_isr.c
@@
-3098,10
+3098,11
@@
skip_msi:
}
clear_risc_ints:
+ if (IS_FWI2_CAPABLE(ha) || IS_QLAFX00(ha))
+ goto fail;
spin_lock_irq(&ha->hardware_lock);
- if (!IS_FWI2_CAPABLE(ha))
- WRT_REG_WORD(®->isp.semaphore, 0);
+ WRT_REG_WORD(®->isp.semaphore, 0);
spin_unlock_irq(&ha->hardware_lock);
fail: