dma_init access registers it should be done after clk enable. The patch does the same. Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xxxxxxxxxx> --- drivers/dma/xilinx/zynqmp_dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/xilinx/zynqmp_dma.c b/drivers/dma/xilinx/zynqmp_dma.c index dbc102d..3d085e6 100644 --- a/drivers/dma/xilinx/zynqmp_dma.c +++ b/drivers/dma/xilinx/zynqmp_dma.c @@ -995,7 +995,6 @@ static int zynqmp_dma_chan_probe(struct zynqmp_dma_device *zdev, chan->common.device = &zdev->common; list_add_tail(&chan->common.device_node, &zdev->common.channels); - zynqmp_dma_init(chan); chan->irq = platform_get_irq(pdev, 0); if (chan->irq < 0) return -ENXIO; @@ -1030,6 +1029,7 @@ static int zynqmp_dma_chan_probe(struct zynqmp_dma_device *zdev, pm_runtime_set_active(&pdev->dev); pm_runtime_enable(&pdev->dev); + zynqmp_dma_init(chan); chan->desc_size = sizeof(struct zynqmp_dma_desc_ll); chan->idle = true; -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe dmaengine" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html