summaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2015-11-01 17:22:51 +0100
committerWolfram Sang <wsa@the-dreams.de>2016-01-03 19:11:09 +0100
commit5b6615398906150dea92fe67a1613a0151ddd0ba (patch)
tree8079b23cd585c7f0bbe646e1832694d3bb6e0d47 /drivers/i2c
parenti2c: imx: add runtime pm support to improve the performance (diff)
downloadlinux-5b6615398906150dea92fe67a1613a0151ddd0ba.tar.xz
linux-5b6615398906150dea92fe67a1613a0151ddd0ba.zip
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 <fabio.estevam@freescale.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/busses/i2c-imx.c2
1 files changed, 1 insertions, 1 deletions
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)