From: Fabio Estevam Date: Sun, 1 Nov 2015 16:22:51 +0000 (-0200) Subject: i2c: imx: Improve message log when DMA is not used X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5b6615398906150dea92fe67a1613a0151ddd0ba;p=linux-beck.git i2c: imx: Improve message log when DMA is not used When DMA cannot be used, it is better to state that the I2C controller will operate in PIO mode. Signed-off-by: Fabio Estevam Signed-off-by: Wolfram Sang --- diff --git a/drivers/i2c/busses/i2c-imx.c b/drivers/i2c/busses/i2c-imx.c index 3ffdcf4d7b61..8f62e1f73a6f 100644 --- a/drivers/i2c/busses/i2c-imx.c +++ b/drivers/i2c/busses/i2c-imx.c @@ -349,7 +349,7 @@ fail_tx: dma_release_channel(dma->chan_tx); fail_al: devm_kfree(dev, dma); - dev_info(dev, "can't use DMA\n"); + dev_info(dev, "can't use DMA, using PIO instead.\n"); } static void i2c_imx_dma_callback(void *arg)