aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/scc_pata.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/pci/scc_pata.c')
-rw-r--r--drivers/ide/pci/scc_pata.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ide/pci/scc_pata.c b/drivers/ide/pci/scc_pata.c
index 67f06dd11b34..f839bdeb903b 100644
--- a/drivers/ide/pci/scc_pata.c
+++ b/drivers/ide/pci/scc_pata.c
@@ -299,8 +299,7 @@ static int scc_config_drive_for_dma(ide_drive_t *drive)
299 if (ide_tune_dma(drive)) 299 if (ide_tune_dma(drive))
300 return 0; 300 return 0;
301 301
302 if (ide_use_fast_pio(drive)) 302 ide_set_max_pio(drive);
303 ide_set_max_pio(drive);
304 303
305 return -1; 304 return -1;
306} 305}