Commit 48a859d2 authored by Manish Dusane's avatar Manish Dusane Committed by James Bottomley

[SCSI] qla4xxx: Fix double clearing of risc_intr for ISP83XX

Issue:
For ISP83XX risc_intr getting clear two times in case of polling mode.
risc_intr getting clear from interrupt_service_routine() as well
from process_mbox_intr() because of this driver may clear risc_intr
without processing interrupt.

Fix:
Do not clear risc_intr from process_mbox_intr().
Signed-off-by: default avatarManish Dusane <manish.dusane@qlogic.com>
Signed-off-by: default avatarVikas Chaudhary <vikas.chaudhary@qlogic.com>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent 320a61de
...@@ -1402,7 +1402,6 @@ void qla4_83xx_process_mbox_intr(struct scsi_qla_host *ha, int outcount) ...@@ -1402,7 +1402,6 @@ void qla4_83xx_process_mbox_intr(struct scsi_qla_host *ha, int outcount)
ha->mbox_status_count = outcount; ha->mbox_status_count = outcount;
ha->isp_ops->interrupt_service_routine(ha, intr_status); ha->isp_ops->interrupt_service_routine(ha, intr_status);
} }
writel(0, &ha->qla4_83xx_reg->risc_intr);
} }
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment