diff options
-rw-r--r-- | drivers/ide/ide-taskfile.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/ide/ide-taskfile.c b/drivers/ide/ide-taskfile.c index 6812f4788789..73ef6bf5fbcc 100644 --- a/drivers/ide/ide-taskfile.c +++ b/drivers/ide/ide-taskfile.c | |||
@@ -837,6 +837,9 @@ ide_startstop_t flagged_taskfile (ide_drive_t *drive, ide_task_t *task) | |||
837 | case TASKFILE_OUT_DMA: | 837 | case TASKFILE_OUT_DMA: |
838 | case TASKFILE_IN_DMAQ: | 838 | case TASKFILE_IN_DMAQ: |
839 | case TASKFILE_IN_DMA: | 839 | case TASKFILE_IN_DMA: |
840 | if (!drive->using_dma) | ||
841 | break; | ||
842 | |||
840 | if (!hwif->dma_setup(drive)) { | 843 | if (!hwif->dma_setup(drive)) { |
841 | hwif->dma_exec_cmd(drive, taskfile->command); | 844 | hwif->dma_exec_cmd(drive, taskfile->command); |
842 | hwif->dma_start(drive); | 845 | hwif->dma_start(drive); |