fixup! i2c-omap: add bus recovery support
Subsystems (4)
PATCH 1/1 fixup! i2c-omap: add bus recovery support
Signed-off-by Jan Luebbe <[email protected]>
--- drivers/i2c/busses/i2c-omap.c | 7 ------- 1 file changed, 7 deletions(-)
drivers/i2c/busses/i2c-omap.c +0 -7
@@ -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 ;
Signature · 7 lines
2.1.4 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox