projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
588eb93
)
i2c: imx: Improve message log when DMA is not used
author
Fabio Estevam
<fabio.estevam@freescale.com>
Sun, 1 Nov 2015 16:22:51 +0000
(14:22 -0200)
committer
Wolfram Sang
<wsa@the-dreams.de>
Sun, 3 Jan 2016 18:11:09 +0000
(19:11 +0100)
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>
drivers/i2c/busses/i2c-imx.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/i2c/busses/i2c-imx.c
b/drivers/i2c/busses/i2c-imx.c
index 3ffdcf4d7b61b65294ed3b36520b2fb886bda5f3..8f62e1f73a6fdc15949810fe710ee34bb34c2993 100644
(file)
--- 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)