Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1d94fe06 authored by Alexander Shiyan's avatar Alexander Shiyan Committed by Vinod Koul
Browse files

dma: imx-dma: Replace printk with dev_*



Use the dev_* message logging API instead of raw printk.

Signed-off-by: default avatarAlexander Shiyan <shc_work@mail.ru>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent 178c81e5
Loading
Loading
Loading
Loading
+6 −6
Original line number Original line Diff line number Diff line
@@ -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" : "",