From: Vikas Chaudhary Date: Thu, 20 Sep 2012 11:35:03 +0000 (-0400) Subject: [SCSI] qla4xxx: Clear interrupt while unloading driver for ISP83XX X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fbd8107cc9a0e31b3b028da607157fd23561975b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [SCSI] qla4xxx: Clear interrupt while unloading driver for ISP83XX Signed-off-by: Vikas Chaudhary Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c index d2d7b252c5df..c1093eb16e2e 100644 --- a/drivers/scsi/qla4xxx/ql4_os.c +++ b/drivers/scsi/qla4xxx/ql4_os.c @@ -3501,6 +3501,9 @@ static void qla4xxx_free_adapter(struct scsi_qla_host *ha) } else if (is_qla8022(ha)) { writel(0, &ha->qla4_82xx_reg->host_int); readl(&ha->qla4_82xx_reg->host_int); + } else if (is_qla8032(ha)) { + writel(0, &ha->qla4_83xx_reg->risc_intr); + readl(&ha->qla4_83xx_reg->risc_intr); } /* Remove timer thread, if present */