[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>
This commit is contained in:
parent
ad5fa025d8
commit
02a9ae6e31
@ -2237,8 +2237,8 @@ qla82xx_poll(int irq, void *dev_id)
|
|||||||
stat * 0xff);
|
stat * 0xff);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
WRT_REG_DWORD(®->host_int, 0);
|
||||||
}
|
}
|
||||||
WRT_REG_DWORD(®->host_int, 0);
|
|
||||||
out:
|
out:
|
||||||
spin_unlock_irqrestore(&ha->hardware_lock, flags);
|
spin_unlock_irqrestore(&ha->hardware_lock, flags);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user