aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/sis5513.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/pci/sis5513.c')
-rw-r--r--drivers/ide/pci/sis5513.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/ide/pci/sis5513.c b/drivers/ide/pci/sis5513.c
index 4fff663a6432..53ffeced06ff 100644
--- a/drivers/ide/pci/sis5513.c
+++ b/drivers/ide/pci/sis5513.c
@@ -678,12 +678,10 @@ static int sis5513_config_xfer_rate(ide_drive_t *drive)
678 if (ide_use_dma(drive) && config_chipset_for_dma(drive)) 678 if (ide_use_dma(drive) && config_chipset_for_dma(drive))
679 return hwif->ide_dma_on(drive); 679 return hwif->ide_dma_on(drive);
680 680
681 if (ide_use_fast_pio(drive)) { 681 if (ide_use_fast_pio(drive))
682 sis5513_tune_drive(drive, 5); 682 sis5513_tune_drive(drive, 5);
683 return hwif->ide_dma_off_quietly(drive); 683
684 } 684 return hwif->ide_dma_off_quietly(drive);
685 /* IORDY not supported */
686 return 0;
687} 685}
688 686
689/* Chip detection and general config */ 687/* Chip detection and general config */