diff options
Diffstat (limited to 'drivers/ide/pci/atiixp.c')
-rw-r--r-- | drivers/ide/pci/atiixp.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/ide/pci/atiixp.c b/drivers/ide/pci/atiixp.c index dfc738c42228..6d372c4e1d81 100644 --- a/drivers/ide/pci/atiixp.c +++ b/drivers/ide/pci/atiixp.c | |||
@@ -264,10 +264,9 @@ static int atiixp_dma_check(ide_drive_t *drive) | |||
264 | tspeed = ide_get_best_pio_mode(drive, 255, 5, NULL); | 264 | tspeed = ide_get_best_pio_mode(drive, 255, 5, NULL); |
265 | speed = atiixp_dma_2_pio(XFER_PIO_0 + tspeed) + XFER_PIO_0; | 265 | speed = atiixp_dma_2_pio(XFER_PIO_0 + tspeed) + XFER_PIO_0; |
266 | hwif->speedproc(drive, speed); | 266 | hwif->speedproc(drive, speed); |
267 | return hwif->ide_dma_off_quietly(drive); | ||
268 | } | 267 | } |
269 | /* IORDY not supported */ | 268 | |
270 | return 0; | 269 | return hwif->ide_dma_off_quietly(drive); |
271 | } | 270 | } |
272 | 271 | ||
273 | /** | 272 | /** |