aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sata_nv.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/sata_nv.c')
-rw-r--r--drivers/scsi/sata_nv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/sata_nv.c b/drivers/scsi/sata_nv.c
index d573888eda76..5569d5797134 100644
--- a/drivers/scsi/sata_nv.c
+++ b/drivers/scsi/sata_nv.c
@@ -305,11 +305,11 @@ static irqreturn_t nv_interrupt (int irq, void *dev_instance,
305 305
306 ap = host_set->ports[i]; 306 ap = host_set->ports[i];
307 if (ap && 307 if (ap &&
308 !(ap->flags & (ATA_FLAG_PORT_DISABLED | ATA_FLAG_NOINTR))) { 308 !(ap->flags & ATA_FLAG_PORT_DISABLED)) {
309 struct ata_queued_cmd *qc; 309 struct ata_queued_cmd *qc;
310 310
311 qc = ata_qc_from_tag(ap, ap->active_tag); 311 qc = ata_qc_from_tag(ap, ap->active_tag);
312 if (qc && (!(qc->tf.ctl & ATA_NIEN))) 312 if (qc && (!(qc->tf.flags & ATA_TFLAG_POLLING)))
313 handled += ata_host_intr(ap, qc); 313 handled += ata_host_intr(ap, qc);
314 } 314 }
315 315