mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] fixup! i2c-omap: add bus recovery support
@ 2015-07-08 14:11 Jan Luebbe
  0 siblings, 0 replies; only message in thread
From: Jan Luebbe @ 2015-07-08 14:11 UTC (permalink / raw)
  To: barebox

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
---
 drivers/i2c/busses/i2c-omap.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c
index 3abf05a..48c55da 100644
--- a/drivers/i2c/busses/i2c-omap.c
+++ b/drivers/i2c/busses/i2c-omap.c
@@ -1001,7 +1001,6 @@ static int omap_i2c_get_scl(struct i2c_adapter *adapter)
 
 	reg = omap_i2c_read_reg(i2c_omap, OMAP_I2C_SYSTEST_REG);
 
-	printf("%s %i\n", __func__, !!(reg & OMAP_I2C_SYSTEST_SCL_I_FUNC));
 	return reg & OMAP_I2C_SYSTEST_SCL_I_FUNC;
 }
 
@@ -1012,7 +1011,6 @@ static int omap_i2c_get_sda(struct i2c_adapter *adapter)
 
 	reg = omap_i2c_read_reg(i2c_omap, OMAP_I2C_SYSTEST_REG);
 
-	printf("%s %i\n", __func__, !!(reg & OMAP_I2C_SYSTEST_SDA_I_FUNC));
 	return reg & OMAP_I2C_SYSTEST_SDA_I_FUNC;
 }
 
@@ -1021,7 +1019,6 @@ static void omap_i2c_set_scl(struct i2c_adapter *adapter, int val)
 	struct omap_i2c_struct *i2c_omap = to_omap_i2c_struct(adapter);
 	u32 reg;
 
-	printf("%s %i\n", __func__, val);
 	reg = omap_i2c_read_reg(i2c_omap, OMAP_I2C_SYSTEST_REG);
 	if (val)
 		reg |= OMAP_I2C_SYSTEST_SCL_O;
@@ -1035,8 +1032,6 @@ static void omap_i2c_prepare_recovery(struct i2c_adapter *adapter)
 	struct omap_i2c_struct *i2c_omap = to_omap_i2c_struct(adapter);
 	u32 reg;
 
-	printf("%s\n", __func__);
-
 	reg = omap_i2c_read_reg(i2c_omap, OMAP_I2C_SYSTEST_REG);
 	/* enable test mode */
 	reg |= OMAP_I2C_SYSTEST_ST_EN;
@@ -1054,8 +1049,6 @@ static void omap_i2c_unprepare_recovery(struct i2c_adapter *adapter)
 	struct omap_i2c_struct *i2c_omap = to_omap_i2c_struct(adapter);
 	u32 reg;
 
-	printf("%s\n", __func__);
-
 	reg = omap_i2c_read_reg(i2c_omap, OMAP_I2C_SYSTEST_REG);
 	/* restore reset values */
 	reg &= ~OMAP_I2C_SYSTEST_ST_EN;
-- 
2.1.4


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-07-08 14:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-08 14:11 [PATCH] fixup! i2c-omap: add bus recovery support Jan Luebbe

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