k3dma: Fix occasional DMA ERR issue by using proper dma api
[cascardo/linux.git] / drivers / dma / mv_xor.c
index d0446a7..f4c9f98 100644 (file)
@@ -1057,7 +1057,7 @@ mv_xor_channel_add(struct mv_xor_device *xordev,
 
 err_free_irq:
        free_irq(mv_chan->irq, mv_chan);
- err_free_dma:
+err_free_dma:
        dma_free_coherent(&pdev->dev, MV_XOR_POOL_SIZE,
                          mv_chan->dma_desc_pool_virt, mv_chan->dma_desc_pool);
        return ERR_PTR(ret);