linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] i2c: imx: Improve message log when DMA is not used
@ 2015-11-01 16:22 Fabio Estevam
  2015-11-01 16:22 ` [PATCH 2/2] i2c: imx: Remove unneeded comments Fabio Estevam
  2016-01-03 18:20 ` [PATCH 1/2] i2c: imx: Improve message log when DMA is not used Wolfram Sang
  0 siblings, 2 replies; 4+ messages in thread
From: Fabio Estevam @ 2015-11-01 16:22 UTC (permalink / raw)
  To: wsa; +Cc: linux-i2c, Fabio Estevam

From: Fabio Estevam <fabio.estevam@freescale.com>

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>
---
 drivers/i2c/busses/i2c-imx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/i2c/busses/i2c-imx.c b/drivers/i2c/busses/i2c-imx.c
index 785aa67..1e522c3 100644
--- a/drivers/i2c/busses/i2c-imx.c
+++ b/drivers/i2c/busses/i2c-imx.c
@@ -339,7 +339,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)
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-01-03 18:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-01 16:22 [PATCH 1/2] i2c: imx: Improve message log when DMA is not used Fabio Estevam
2015-11-01 16:22 ` [PATCH 2/2] i2c: imx: Remove unneeded comments Fabio Estevam
2016-01-03 18:28   ` Wolfram Sang
2016-01-03 18:20 ` [PATCH 1/2] i2c: imx: Improve message log when DMA is not used Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).