aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sata_mv.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/sata_mv.c')
-rw-r--r--drivers/scsi/sata_mv.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/scsi/sata_mv.c b/drivers/scsi/sata_mv.c
index 9687646d73e1..6dc2a612ccbd 100644
--- a/drivers/scsi/sata_mv.c
+++ b/drivers/scsi/sata_mv.c
@@ -1220,8 +1220,7 @@ static void mv_host_intr(struct ata_host_set *host_set, u32 relevant,
1220 handled++; 1220 handled++;
1221 } 1221 }
1222 1222
1223 if (ap && 1223 if (ap && (ap->flags & ATA_FLAG_PORT_DISABLED))
1224 (ap->flags & (ATA_FLAG_PORT_DISABLED | ATA_FLAG_NOINTR)))
1225 continue; 1224 continue;
1226 1225
1227 err_mask = ac_err_mask(ata_status); 1226 err_mask = ac_err_mask(ata_status);
@@ -1242,7 +1241,7 @@ static void mv_host_intr(struct ata_host_set *host_set, u32 relevant,
1242 VPRINTK("port %u IRQ found for qc, " 1241 VPRINTK("port %u IRQ found for qc, "
1243 "ata_status 0x%x\n", port,ata_status); 1242 "ata_status 0x%x\n", port,ata_status);
1244 /* mark qc status appropriately */ 1243 /* mark qc status appropriately */
1245 if (!(qc->tf.ctl & ATA_NIEN)) 1244 if (!(qc->tf.flags & ATA_TFLAG_POLLING))
1246 ata_qc_complete(qc, err_mask); 1245 ata_qc_complete(qc, err_mask);
1247 } 1246 }
1248 } 1247 }