aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-taskfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/ide-taskfile.c')
-rw-r--r--drivers/ide/ide-taskfile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ide/ide-taskfile.c b/drivers/ide/ide-taskfile.c
index 15bbfc1dcd28..925fb9241893 100644
--- a/drivers/ide/ide-taskfile.c
+++ b/drivers/ide/ide-taskfile.c
@@ -103,6 +103,7 @@ ide_startstop_t do_rw_taskfile (ide_drive_t *drive, ide_task_t *task)
103 return ide_started; 103 return ide_started;
104 default: 104 default:
105 if ((drive->dev_flags & IDE_DFLAG_USING_DMA) == 0 || 105 if ((drive->dev_flags & IDE_DFLAG_USING_DMA) == 0 ||
106 ide_build_sglist(drive, hwif->rq) == 0 ||
106 dma_ops->dma_setup(drive)) 107 dma_ops->dma_setup(drive))
107 return ide_stopped; 108 return ide_stopped;
108 dma_ops->dma_exec_cmd(drive, tf->command); 109 dma_ops->dma_exec_cmd(drive, tf->command);