dma: imx-dma: Replace printk with dev_*
Use the dev_* message logging API instead of raw printk. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
This commit is contained in:
parent
178c81e58e
commit
1d94fe0601
@ -422,12 +422,12 @@ 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" : "",
|
||||||
errcode & IMX_DMA_ERR_TRANSFER ? " transfer" : "",
|
errcode & IMX_DMA_ERR_TRANSFER ? " transfer" : "",
|
||||||
errcode & IMX_DMA_ERR_BUFFER ? " buffer" : "");
|
errcode & IMX_DMA_ERR_BUFFER ? " buffer" : "");
|
||||||
}
|
}
|
||||||
return IRQ_HANDLED;
|
return IRQ_HANDLED;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user