Commit 391b25f8 authored by Federico Vaga's avatar Federico Vaga

sw:drv:dma: show status after start

Like this we can see that the state machine started (we should
see the BUSY bit set)
Signed-off-by: Federico Vaga's avatarFederico Vaga <>
parent b3f9fa5c
......@@ -275,6 +275,8 @@ static void gn412x_dma_ctrl_start(struct gn412x_dma_device *gn412x_dma)
ctrl = ioread32(gn412x_dma->addr + GN412X_DMA_CTRL);
ctrl |= GN412X_DMA_CTRL_START;
iowrite32(ctrl, gn412x_dma->addr + GN412X_DMA_CTRL);
dev_dbg(&gn412x_dma->pdev->dev, "%s: stat: 0x%x\n",
__func__, ioread32(gn412x_dma->addr + GN412X_DMA_STAT));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment