ide: destroy DMA mappings after ending DMA (v2)
[firefly-linux-kernel-4.4.55.git] / drivers / ide / pmac.c
index d15cc46a66e33304b4e6dbdf08adb6586f0b18ab..5643a8b957bff98077e15e6f05687f9a9f6f2c02 100644 (file)
@@ -1562,8 +1562,6 @@ pmac_ide_dma_end (ide_drive_t *drive)
        dstat = readl(&dma->status);
        writel(((RUN|WAKE|DEAD) << 16), &dma->control);
 
-       ide_destroy_dmatable(drive);
-
        /* verify good dma status. we don't check for ACTIVE beeing 0. We should...
         * in theory, but with ATAPI decices doing buffer underruns, that would
         * cause us to disable DMA, which isn't what we want