mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Jan Weitzel <j.weitzel@phytec.de>
To: barebox@lists.infradead.org
Subject: [PATCH] i2c-omap: fix reported revison
Date: Mon, 7 Oct 2013 15:18:07 +0200	[thread overview]
Message-ID: <1381151887-26837-1-git-send-email-j.weitzel@phytec.de> (raw)
In-Reply-To: <1380743134.7042.4.camel@polaris.local>

Report correct major and minor revision
Signed-off-by: Jan Weitzel <j.weitzel@phytec.de>
---
 drivers/i2c/busses/i2c-omap.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c
index bec3b29..8e31ef4 100644
--- a/drivers/i2c/busses/i2c-omap.c
+++ b/drivers/i2c/busses/i2c-omap.c
@@ -1079,7 +1079,7 @@ i2c_omap_probe(struct device_d *pdev)
 	omap_i2c_init(i2c_omap);
 
 	dev_info(pdev, "bus %d rev%d.%d at %d kHz\n",
-		 pdev->id, i2c_omap->rev >> 4, i2c_omap->rev & 0xf, i2c_omap->speed);
+		 pdev->id, major, minor, i2c_omap->speed);
 
 	omap_i2c_idle(i2c_omap);
 
-- 
1.7.0.4


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

  reply	other threads:[~2013-10-07 13:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-26 11:40 [PATCH] i2c-omap: Update driver Jan Weitzel
2013-09-30  8:16 ` Sascha Hauer
2013-10-02 19:45   ` Jan Lübbe
2013-10-07 13:18     ` Jan Weitzel [this message]
2013-10-14  9:15       ` [PATCH] i2c-omap: fix reported revison Sascha Hauer

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=1381151887-26837-1-git-send-email-j.weitzel@phytec.de \
    --to=j.weitzel@phytec.de \
    --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