]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - drivers/scsi/ahci.c
Merge branch 'upstream-fixes' into upstream
[linux-2.6.git] / drivers / scsi / ahci.c
index 35058f9296d86e0fb8b475aad0984ee9809333ff..f5734a97580a8396ed046dc2322799b4153337a3 100644 (file)
@@ -1076,14 +1076,8 @@ static void ahci_host_intr(struct ata_port *ap)
                return;
 
        /* ignore interim PIO setup fis interrupts */
-       if (ata_tag_valid(ap->active_tag)) {
-               struct ata_queued_cmd *qc =
-                       ata_qc_from_tag(ap, ap->active_tag);
-
-               if (qc && qc->tf.protocol == ATA_PROT_PIO &&
-                   (status & PORT_IRQ_PIOS_FIS))
-                       return;
-       }
+       if (ata_tag_valid(ap->active_tag) && (status & PORT_IRQ_PIOS_FIS)) 
+               return;
 
        if (ata_ratelimit())
                ata_port_printk(ap, KERN_INFO, "spurious interrupt "