diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2014-02-22 13:16:47 -0500 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2014-03-06 10:21:09 -0500 |
commit | 1d94fe0601de795e9f43e289bb381f10b53d48f8 (patch) | |
tree | 8f9fc9c392c7ceec9a6772c75cad0f5f59f27279 | |
parent | 178c81e58e91559fd2c6b1cae43c8f573a2ead36 (diff) |
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>
-rw-r--r-- | drivers/dma/imx-dma.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/dma/imx-dma.c b/drivers/dma/imx-dma.c index 6f9ac2022abd..ac6011359d65 100644 --- a/drivers/dma/imx-dma.c +++ b/drivers/dma/imx-dma.c | |||
@@ -422,12 +422,12 @@ static irqreturn_t imxdma_err_handler(int irq, void *dev_id) | |||
422 | /* Tasklet error handler */ | 422 | /* Tasklet error handler */ |
423 | tasklet_schedule(&imxdma->channel[i].dma_tasklet); | 423 | tasklet_schedule(&imxdma->channel[i].dma_tasklet); |
424 | 424 | ||
425 | printk(KERN_WARNING | 425 | dev_warn(imxdma->dev, |
426 | "DMA timeout on channel %d -%s%s%s%s\n", i, | 426 | "DMA timeout on channel %d -%s%s%s%s\n", i, |
427 | errcode & IMX_DMA_ERR_BURST ? " burst" : "", | 427 | errcode & IMX_DMA_ERR_BURST ? " burst" : "", |
428 | errcode & IMX_DMA_ERR_REQUEST ? " request" : "", | 428 | errcode & IMX_DMA_ERR_REQUEST ? " request" : "", |
429 | errcode & IMX_DMA_ERR_TRANSFER ? " transfer" : "", | 429 | errcode & IMX_DMA_ERR_TRANSFER ? " transfer" : "", |
430 | errcode & IMX_DMA_ERR_BUFFER ? " buffer" : ""); | 430 | errcode & IMX_DMA_ERR_BUFFER ? " buffer" : ""); |
431 | } | 431 | } |
432 | return IRQ_HANDLED; | 432 | return IRQ_HANDLED; |
433 | } | 433 | } |