From: Atul Deshmukh Date: Wed, 30 Oct 2013 07:38:20 +0000 (-0400) Subject: [SCSI] qla2xxx: Clear RISC INT reg only for an event and not always while polling. X-Git-Tag: next-20131220~13^2~44 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b5d805f2169e1e3866633174805eed07bc5de477;p=karo-tx-linux.git [SCSI] qla2xxx: Clear RISC INT reg only for an event and not always while polling. Signed-off-by: Atul Deshmukh Signed-off-by: Saurav Kashyap Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/qla2xxx/qla_nx.c b/drivers/scsi/qla2xxx/qla_nx.c index 3da237209f85..1468c59d8960 100644 --- a/drivers/scsi/qla2xxx/qla_nx.c +++ b/drivers/scsi/qla2xxx/qla_nx.c @@ -2237,8 +2237,8 @@ qla82xx_poll(int irq, void *dev_id) stat * 0xff); break; } + WRT_REG_DWORD(®->host_int, 0); } - WRT_REG_DWORD(®->host_int, 0); out: spin_unlock_irqrestore(&ha->hardware_lock, flags); }