aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ppc/scc_pata.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/ppc/scc_pata.c')
-rw-r--r--drivers/ide/ppc/scc_pata.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/ide/ppc/scc_pata.c b/drivers/ide/ppc/scc_pata.c
index 3993d08312dc..65ad8ab34598 100644
--- a/drivers/ide/ppc/scc_pata.c
+++ b/drivers/ide/ppc/scc_pata.c
@@ -363,12 +363,9 @@ static int scc_config_chipset_for_dma(ide_drive_t *drive)
363 if (!speed) 363 if (!speed)
364 return 0; 364 return 0;
365 365
366 if (ide_set_xfer_rate(drive, speed)) 366 if (scc_tune_chipset(drive, speed))
367 return 0; 367 return 0;
368 368
369 if (!drive->init_speed)
370 drive->init_speed = speed;
371
372 return ide_dma_enable(drive); 369 return ide_dma_enable(drive);
373} 370}
374 371