diff options
author | Tejun Heo <htejun@gmail.com> | 2008-04-07 22:47:20 +0900 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-04-17 15:44:23 -0400 |
commit | 79f97dadfe9b4b561634d202225ba2fa910dc225 (patch) | |
tree | 7bea39a135c7c87b7430d6c071288a05990b9309 /drivers/ata/ahci.c | |
parent | 22183bf569c8600ff414ac25f23134044e0ef453 (diff) | |
download | linux-3.10-79f97dadfe9b4b561634d202225ba2fa910dc225.tar.gz linux-3.10-79f97dadfe9b4b561634d202225ba2fa910dc225.tar.bz2 linux-3.10-79f97dadfe9b4b561634d202225ba2fa910dc225.zip |
libata: drop @finish_qc from ata_qc_complete_multiple()
ata_qc_complete_multiple() took @finish_qc and called it on every qc
before completing it. This was to give opportunity to update TF cache
before ata_qc_complete() tries to fill result_tf. Now that result TF
is a separate operation, this is no longer necessary.
Update sata_sil24, which was the only user of this mechanism, such
that it implements its own ops->qc_fill_rtf() and drop @finish_qc from
ata_qc_complete_multiple().
Signed-off-by: Tejun Heo <htejun@gmail.com>
Diffstat (limited to 'drivers/ata/ahci.c')
-rw-r--r-- | drivers/ata/ahci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index 3071a2341be..1389c64e002 100644 --- a/drivers/ata/ahci.c +++ b/drivers/ata/ahci.c @@ -1696,7 +1696,7 @@ static void ahci_port_intr(struct ata_port *ap) else qc_active = readl(port_mmio + PORT_CMD_ISSUE); - rc = ata_qc_complete_multiple(ap, qc_active, NULL); + rc = ata_qc_complete_multiple(ap, qc_active); /* while resetting, invalid completions are expected */ if (unlikely(rc < 0 && !resetting)) { |