aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata-sff.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/libata-sff.c')
-rw-r--r--drivers/ata/libata-sff.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/ata/libata-sff.c b/drivers/ata/libata-sff.c
index c0a905438896..3cc385dbfe2a 100644
--- a/drivers/ata/libata-sff.c
+++ b/drivers/ata/libata-sff.c
@@ -604,7 +604,6 @@ void ata_sff_tf_load(struct ata_port *ap, const struct ata_taskfile *tf)
604 if (ioaddr->ctl_addr) 604 if (ioaddr->ctl_addr)
605 iowrite8(tf->ctl, ioaddr->ctl_addr); 605 iowrite8(tf->ctl, ioaddr->ctl_addr);
606 ap->last_ctl = tf->ctl; 606 ap->last_ctl = tf->ctl;
607 ata_wait_idle(ap);
608 } 607 }
609 608
610 if (is_addr && (tf->flags & ATA_TFLAG_LBA48)) { 609 if (is_addr && (tf->flags & ATA_TFLAG_LBA48)) {
@@ -640,8 +639,6 @@ void ata_sff_tf_load(struct ata_port *ap, const struct ata_taskfile *tf)
640 iowrite8(tf->device, ioaddr->device_addr); 639 iowrite8(tf->device, ioaddr->device_addr);
641 VPRINTK("device 0x%X\n", tf->device); 640 VPRINTK("device 0x%X\n", tf->device);
642 } 641 }
643
644 ata_wait_idle(ap);
645} 642}
646EXPORT_SYMBOL_GPL(ata_sff_tf_load); 643EXPORT_SYMBOL_GPL(ata_sff_tf_load);
647 644