diff options
author | Tejun Heo <teheo@novell.com> | 2010-09-09 15:13:31 (GMT) |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2010-09-10 02:27:44 (GMT) |
commit | 40c6023031369ae5573e622ca54fa3ffe89fb865 (patch) | |
tree | 62c254cf5d2b302cc0f961394eb269bd0bd0a3c9 /drivers/ata/pata_via.c | |
parent | f1f5a807b051eddd3f302e503d39214e5bde0ef2 (diff) | |
download | linux-fsl-qoriq-40c6023031369ae5573e622ca54fa3ffe89fb865.tar.xz |
libata,pata_via: revert ata_wait_idle() removal from ata_sff/via_tf_load()
Commit 978c0666 (libata: Remove excess delay in the tf_load path)
removed ata_wait_idle() from ata_sff_tf_load() and via_tf_load().
This caused obscure detection problems in sata_sil.
https://bugzilla.kernel.org/show_bug.cgi?id=16606
The commit was pure performance optimization. Revert it for now.
Reported-by: Dieter Plaetinck <dieter@plaetinck.be>
Reported-by: Jan Beulich <JBeulich@novell.com>
Bisected-by: gianluca <gianluca@sottospazio.it>
Cc: stable@kernel.org
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/pata_via.c')
-rw-r--r-- | drivers/ata/pata_via.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ata/pata_via.c b/drivers/ata/pata_via.c index 5e65988..ac8d7d9 100644 --- a/drivers/ata/pata_via.c +++ b/drivers/ata/pata_via.c @@ -417,6 +417,8 @@ static void via_tf_load(struct ata_port *ap, const struct ata_taskfile *tf) tf->lbam, tf->lbah); } + + ata_wait_idle(ap); } static int via_port_start(struct ata_port *ap) |