aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAtul Deshmukh <atul.deshmukh@qlogic.com>2013-10-30 03:38:20 -0400
committerJames Bottomley <JBottomley@Parallels.com>2013-12-19 10:38:59 -0500
commit02a9ae6e31975e97777a4e3db6e33e059f256c05 (patch)
tree2c3772c85ad2a566093bef977f6e92ab2c78dd8b
parentad5fa025d8fdc850f4ebf34d523a99739aae3e33 (diff)
[SCSI] qla2xxx: Clear RISC INT reg only for an event and not always while polling.
Signed-off-by: Atul Deshmukh <atul.deshmukh@qlogic.com> Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
-rw-r--r--drivers/scsi/qla2xxx/qla_nx.c2
1 files changed, 1 insertions, 1 deletions
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)
2237 stat * 0xff); 2237 stat * 0xff);
2238 break; 2238 break;
2239 } 2239 }
2240 WRT_REG_DWORD(&reg->host_int, 0);
2240 } 2241 }
2241 WRT_REG_DWORD(&reg->host_int, 0);
2242out: 2242out:
2243 spin_unlock_irqrestore(&ha->hardware_lock, flags); 2243 spin_unlock_irqrestore(&ha->hardware_lock, flags);
2244} 2244}