From: Giridhar Malavali Date: Wed, 22 Aug 2012 18:21:30 +0000 (-0400) Subject: [SCSI] qla2xxx: Fix for legacy interrupts for ISP83xx. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cb860bbd6b4b12cb56640fefceeaffb526eb7ac5;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [SCSI] qla2xxx: Fix for legacy interrupts for ISP83xx. Signed-off-by: Giridhar Malaval Signed-off-by: Chad Dupuis Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c index 9a2e1fabc59c..f01be76ebecf 100644 --- a/drivers/scsi/qla2xxx/qla_isr.c +++ b/drivers/scsi/qla2xxx/qla_isr.c @@ -2556,6 +2556,8 @@ qla24xx_intr_handler(int irq, void *dev_id) } WRT_REG_DWORD(®->hccr, HCCRX_CLR_RISC_INT); RD_REG_DWORD_RELAXED(®->hccr); + if (unlikely(IS_QLA83XX(ha) && (ha->pdev->revision == 1))) + ndelay(3500); } spin_unlock_irqrestore(&ha->hardware_lock, flags);