mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Jan Luebbe <jluebbe@debian.org>
To: barebox@lists.infradead.org
Subject: [PATCH] fixup! i2c-omap: add bus recovery support
Date: Wed,  8 Jul 2015 16:11:00 +0200	[thread overview]
Message-ID: <1436364660-28465-1-git-send-email-jluebbe@debian.org> (raw)

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

                 reply	other threads:[~2015-07-08 14:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1436364660-28465-1-git-send-email-jluebbe@debian.org \
    --to=jluebbe@debian.org \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox