Skip to content

Commit

Permalink
Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/ker…
Browse files Browse the repository at this point in the history
…nel/git/jgarzik/libata-dev

* 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev:
  [PATCH] ahci: skip protocol test altogether in spurious interrupt code
  • Loading branch information
Linus Torvalds committed Aug 4, 2006
2 parents 8861e98 + f1d39b2 commit efe78cd
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions drivers/scsi/ahci.c
Original file line number Diff line number Diff line change
Expand Up @@ -940,14 +940,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 "
Expand Down

0 comments on commit efe78cd

Please sign in to comment.