aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/hpt366.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/pci/hpt366.c')
-rw-r--r--drivers/ide/pci/hpt366.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ide/pci/hpt366.c b/drivers/ide/pci/hpt366.c
index a8097b5476a2..992b60eeee3f 100644
--- a/drivers/ide/pci/hpt366.c
+++ b/drivers/ide/pci/hpt366.c
@@ -718,8 +718,7 @@ static int hpt366_config_drive_xfer_rate(ide_drive_t *drive)
718 if (ide_tune_dma(drive)) 718 if (ide_tune_dma(drive))
719 return 0; 719 return 0;
720 720
721 if (ide_use_fast_pio(drive)) 721 ide_set_max_pio(drive);
722 ide_set_max_pio(drive);
723 722
724 return -1; 723 return -1;
725} 724}