aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/libata-core.c')
-rw-r--r--drivers/ata/libata-core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index 51876b93c1b7..3b822124e97e 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -74,6 +74,7 @@ const unsigned long sata_deb_timing_hotplug[] = { 25, 500, 2000 };
74const unsigned long sata_deb_timing_long[] = { 100, 2000, 5000 }; 74const unsigned long sata_deb_timing_long[] = { 100, 2000, 5000 };
75 75
76const struct ata_port_operations ata_base_port_ops = { 76const struct ata_port_operations ata_base_port_ops = {
77 .qc_fill_rtf = ata_sff_qc_fill_rtf,
77 .prereset = ata_std_prereset, 78 .prereset = ata_std_prereset,
78 .postreset = ata_std_postreset, 79 .postreset = ata_std_postreset,
79 .error_handler = ata_std_error_handler, 80 .error_handler = ata_std_error_handler,
@@ -4562,7 +4563,7 @@ static void fill_result_tf(struct ata_queued_cmd *qc)
4562 struct ata_port *ap = qc->ap; 4563 struct ata_port *ap = qc->ap;
4563 4564
4564 qc->result_tf.flags = qc->tf.flags; 4565 qc->result_tf.flags = qc->tf.flags;
4565 ap->ops->sff_tf_read(ap, &qc->result_tf); 4566 ap->ops->qc_fill_rtf(qc);
4566} 4567}
4567 4568
4568static void ata_verify_xfer(struct ata_queued_cmd *qc) 4569static void ata_verify_xfer(struct ata_queued_cmd *qc)