ide: add ide_set_dma() helper (v2)
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / ide / pci / sc1200.c
index 8d762d323f8b654504a7fe85ffe499a2a14efc38..08e317f281e7a44a83d9a524ad4edc6ca070c0fe 100644 (file)
@@ -241,10 +241,7 @@ static int sc1200_config_dma2 (ide_drive_t *drive, int mode)
 
        outb(inb(hwif->dma_base+2)|(unit?0x40:0x20), hwif->dma_base+2); /* set DMA_capable bit */
 
-       /*
-        * Finally, turn DMA on in software, and exit.
-        */
-       return hwif->ide_dma_on(drive); /* success */
+       return 0;       /* success */
 }
 
 /*