提交 1d94fe06 编写于 作者: A Alexander Shiyan 提交者: Vinod Koul

dma: imx-dma: Replace printk with dev_*

Use the dev_* message logging API instead of raw printk.
Signed-off-by: NAlexander Shiyan <shc_work@mail.ru>
Signed-off-by: NVinod Koul <vinod.koul@intel.com>
上级 178c81e5
...@@ -422,7 +422,7 @@ static irqreturn_t imxdma_err_handler(int irq, void *dev_id) ...@@ -422,7 +422,7 @@ static irqreturn_t imxdma_err_handler(int irq, void *dev_id)
/* Tasklet error handler */ /* Tasklet error handler */
tasklet_schedule(&imxdma->channel[i].dma_tasklet); tasklet_schedule(&imxdma->channel[i].dma_tasklet);
printk(KERN_WARNING dev_warn(imxdma->dev,
"DMA timeout on channel %d -%s%s%s%s\n", i, "DMA timeout on channel %d -%s%s%s%s\n", i,
errcode & IMX_DMA_ERR_BURST ? " burst" : "", errcode & IMX_DMA_ERR_BURST ? " burst" : "",
errcode & IMX_DMA_ERR_REQUEST ? " request" : "", errcode & IMX_DMA_ERR_REQUEST ? " request" : "",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册