On Sat, Feb 22, 2014 at 10:16:47PM +0400, Alexander Shiyan wrote: > Use the dev_* message logging API instead of raw printk. > > Signed-off-by: Alexander Shiyan <shc_work@xxxxxxx> Applied, thanks -- ~Vinod > --- > drivers/dma/imx-dma.c | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/drivers/dma/imx-dma.c b/drivers/dma/imx-dma.c > index bc78142..609efcf 100644 > --- a/drivers/dma/imx-dma.c > +++ b/drivers/dma/imx-dma.c > @@ -423,12 +423,12 @@ static irqreturn_t imxdma_err_handler(int irq, void *dev_id) > /* Tasklet error handler */ > tasklet_schedule(&imxdma->channel[i].dma_tasklet); > > - printk(KERN_WARNING > - "DMA timeout on channel %d -%s%s%s%s\n", i, > - errcode & IMX_DMA_ERR_BURST ? " burst" : "", > - errcode & IMX_DMA_ERR_REQUEST ? " request" : "", > - errcode & IMX_DMA_ERR_TRANSFER ? " transfer" : "", > - errcode & IMX_DMA_ERR_BUFFER ? " buffer" : ""); > + dev_warn(imxdma->dev, > + "DMA timeout on channel %d -%s%s%s%s\n", i, > + errcode & IMX_DMA_ERR_BURST ? " burst" : "", > + errcode & IMX_DMA_ERR_REQUEST ? " request" : "", > + errcode & IMX_DMA_ERR_TRANSFER ? " transfer" : "", > + errcode & IMX_DMA_ERR_BUFFER ? " buffer" : ""); > } > return IRQ_HANDLED; > } > -- > 1.8.3.2 > -- -- To unsubscribe from this list: send the line "unsubscribe dmaengine" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html