diff options
Diffstat (limited to 'drivers/ide/ppc')
-rw-r--r-- | drivers/ide/ppc/scc_pata.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/ide/ppc/scc_pata.c b/drivers/ide/ppc/scc_pata.c index f05117e8fdb..7e3e93caafd 100644 --- a/drivers/ide/ppc/scc_pata.c +++ b/drivers/ide/ppc/scc_pata.c | |||
@@ -376,11 +376,10 @@ static int scc_config_drive_for_dma(ide_drive_t *drive) | |||
376 | if (ide_use_dma(drive) && scc_config_chipset_for_dma(drive)) | 376 | if (ide_use_dma(drive) && scc_config_chipset_for_dma(drive)) |
377 | return hwif->ide_dma_on(drive); | 377 | return hwif->ide_dma_on(drive); |
378 | 378 | ||
379 | if (ide_use_fast_pio(drive)) { | 379 | if (ide_use_fast_pio(drive)) |
380 | hwif->tuneproc(drive, 4); | 380 | hwif->tuneproc(drive, 4); |
381 | hwif->ide_dma_off_quietly(drive); | 381 | |
382 | } | 382 | return hwif->ide_dma_off_quietly(drive); |
383 | return 1; /* DMA is not supported */ | ||
384 | } | 383 | } |
385 | 384 | ||
386 | /** | 385 | /** |