mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/4] i2c-imx: change log level for No ACK
@ 2010-05-24 13:46 Eric Bénard
  2010-05-24 13:46 ` [PATCH 2/4] i2c: implement i2c_get_adapter() Eric Bénard
  0 siblings, 1 reply; 8+ messages in thread
From: Eric Bénard @ 2010-05-24 13:46 UTC (permalink / raw)
  To: s.hauer; +Cc: barebox

Without this, i2c_probe triggers No ACK log at each address probed without
a slave's answer

Signed-off-by: Eric Bénard <eric@eukrea.com>
---
 drivers/i2c/i2c-imx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/i2c/i2c-imx.c b/drivers/i2c/i2c-imx.c
index 03e3785..cc64d94 100644
--- a/drivers/i2c/i2c-imx.c
+++ b/drivers/i2c/i2c-imx.c
@@ -214,7 +214,7 @@ static int i2c_imx_acked(struct i2c_adapter *adapter)
 			break;
 
 		if (is_timeout(start, MSECOND)) {
-			dev_err(adapter->dev, "<%s> No ACK\n", __func__);
+			dev_dbg(adapter->dev, "<%s> No ACK\n", __func__);
 			return -EIO;
 		}
 	}
-- 
1.6.3.3


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2010-05-25  7:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-24 13:46 [PATCH 1/4] i2c-imx: change log level for No ACK Eric Bénard
2010-05-24 13:46 ` [PATCH 2/4] i2c: implement i2c_get_adapter() Eric Bénard
2010-05-24 13:46   ` [PATCH 3/4] commands: add i2c commands Eric Bénard
2010-05-24 13:46     ` [PATCH 4/4] eukrea_cpuimx27: add fb support Eric Bénard
2010-05-24 22:12     ` [PATCH 3/4] commands: add i2c commands Marc Kleine-Budde
2010-05-25  6:45       ` Sascha Hauer
2010-05-25  7:03     ` Sascha Hauer
2010-05-24 22:01   ` [PATCH 2/4] i2c: implement i2c_get_adapter() Marc Kleine-Budde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox