public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: "Rajendra Nayak" <rnayak@ti.com>
To: linux-omap@vger.kernel.org
Subject: [PATCH 04/12] I2C re-init for every cmd
Date: Mon, 1 Sep 2008 19:08:26 +0530 (IST)	[thread overview]
Message-ID: <59975.192.168.10.89.1220276306.squirrel@dbdmail.itg.ti.com> (raw)

This patch does i2c init/re-init for every transfer

Signed-off-by: Rajendra Nayak <rnayak@ti.com>
---
 drivers/i2c/busses/i2c-omap.c |    2 ++
 1 files changed, 2 insertions(+)

Index: linux-omap-2.6/drivers/i2c/busses/i2c-omap.c
===================================================================
--- linux-omap-2.6.orig/drivers/i2c/busses/i2c-omap.c	2008-09-01
18:11:28.000000000 +0530
+++ linux-omap-2.6/drivers/i2c/busses/i2c-omap.c	2008-09-01 18:11:52.000000000
+0530
@@ -496,6 +496,8 @@ omap_i2c_xfer(struct i2c_adapter *adap,

 	omap_i2c_unidle(dev);

+	omap_i2c_init(dev);
+
 	if ((r = omap_i2c_wait_for_bb(dev)) < 0)
 		goto out;




             reply	other threads:[~2008-09-01 13:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-01 13:38 Rajendra Nayak [this message]
2008-09-11 10:04 ` [PATCH 04/12] I2C re-init for every cmd Högander Jouni
2008-09-11 10:33   ` shekhar, chandra
2008-09-11 11:01     ` Högander Jouni
  -- strict thread matches above, loose matches on Subject: below --
2008-09-11 15:55 chandra shekhar
2008-09-12  7:48 ` Högander Jouni
2008-09-15  6:57   ` shekhar, chandra
2008-09-16  9:25   ` Kevin Hilman
2008-09-16 10:13     ` Högander Jouni

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=59975.192.168.10.89.1220276306.squirrel@dbdmail.itg.ti.com \
    --to=rnayak@ti.com \
    --cc=linux-omap@vger.kernel.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