]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[SCSI] qla2xxx: Clear RISC INT reg only for an event and not always while polling.
authorAtul Deshmukh <atul.deshmukh@qlogic.com>
Wed, 30 Oct 2013 07:38:20 +0000 (03:38 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 19 Dec 2013 15:38:59 +0000 (07:38 -0800)
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>
drivers/scsi/qla2xxx/qla_nx.c

index 3da237209f854047bf7c8bd665e50b13b3415154..1468c59d8960f3d93af4985d27428348e2565d8a 100644 (file)
@@ -2237,8 +2237,8 @@ qla82xx_poll(int irq, void *dev_id)
                            stat * 0xff);
                        break;
                }
+               WRT_REG_DWORD(&reg->host_int, 0);
        }
-       WRT_REG_DWORD(&reg->host_int, 0);
 out:
        spin_unlock_irqrestore(&ha->hardware_lock, flags);
 }