aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/cmd64x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/pci/cmd64x.c')
-rw-r--r--drivers/ide/pci/cmd64x.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ide/pci/cmd64x.c b/drivers/ide/pci/cmd64x.c
index d50f15e34b80..52790cb6bce4 100644
--- a/drivers/ide/pci/cmd64x.c
+++ b/drivers/ide/pci/cmd64x.c
@@ -335,8 +335,7 @@ static int cmd64x_config_drive_for_dma (ide_drive_t *drive)
335 if (ide_tune_dma(drive)) 335 if (ide_tune_dma(drive))
336 return 0; 336 return 0;
337 337
338 if (ide_use_fast_pio(drive)) 338 ide_set_max_pio(drive);
339 ide_set_max_pio(drive);
340 339
341 return -1; 340 return -1;
342} 341}