[PATCH] fixup! i2c-omap: add bus recovery support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Jan Luebbe <jluebbe@xxxxxxxxxx>
---
 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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux