diff options
Diffstat (limited to 'drivers/scsi/sata_nv.c')
-rw-r--r-- | drivers/scsi/sata_nv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/sata_nv.c b/drivers/scsi/sata_nv.c index caffadc2e0ae..5168db981dde 100644 --- a/drivers/scsi/sata_nv.c +++ b/drivers/scsi/sata_nv.c | |||
@@ -309,11 +309,11 @@ static irqreturn_t nv_interrupt (int irq, void *dev_instance, | |||
309 | 309 | ||
310 | ap = host_set->ports[i]; | 310 | ap = host_set->ports[i]; |
311 | if (ap && | 311 | if (ap && |
312 | !(ap->flags & (ATA_FLAG_PORT_DISABLED | ATA_FLAG_NOINTR))) { | 312 | !(ap->flags & ATA_FLAG_PORT_DISABLED)) { |
313 | struct ata_queued_cmd *qc; | 313 | struct ata_queued_cmd *qc; |
314 | 314 | ||
315 | qc = ata_qc_from_tag(ap, ap->active_tag); | 315 | qc = ata_qc_from_tag(ap, ap->active_tag); |
316 | if (qc && (!(qc->tf.ctl & ATA_NIEN))) | 316 | if (qc && (!(qc->tf.flags & ATA_TFLAG_POLLING))) |
317 | handled += ata_host_intr(ap, qc); | 317 | handled += ata_host_intr(ap, qc); |
318 | else | 318 | else |
319 | // No request pending? Clear interrupt status | 319 | // No request pending? Clear interrupt status |