drm/omap: dmm_tiler: Remove the dma_async_issue_pending() call
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Wed, 31 Jul 2019 09:42:33 +0000 (12:42 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 11 Feb 2020 07:29:01 +0000 (09:29 +0200)
dma_sync_wait() is calling it so no need to call it in the driver.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190731094233.13890-3-peter.ujfalusi@ti.com
drivers/gpu/drm/omapdrm/omap_dmm_tiler.c

index 77728ea..42ec51b 100644 (file)
@@ -98,7 +98,6 @@ static int dmm_dma_copy(struct dmm *dmm, dma_addr_t src, dma_addr_t dst)
                return -EIO;
        }
 
-       dma_async_issue_pending(dmm->wa_dma_chan);
        status = dma_sync_wait(dmm->wa_dma_chan, cookie);
        if (status != DMA_COMPLETE)
                dev_err(dmm->dev, "i878 wa DMA copy failure\n");