linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: mike-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org
To: "Ben Dooks
	<ben-i2c-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org>"@mike-pc.compulab.local
Cc: "Colin Cross
	<ccross-z5hGa2qSFaRBDgjK7y7TUQ@public.gmane.org>"@mike-pc.compulab.local,
	"Stephen Warren
	swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org"@mike-pc.compulab.local,
	linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [PATCH RESEND] i2c: tegra: add I2C_FUNC_SMBUS_EMUL to adapter functionality
Date: Mon, 11 Jul 2011 10:37:55 +0300	[thread overview]
Message-ID: <20110711073755.GA8665@gentoodev.compulab.local> (raw)

Hi Ben,
This patch has been waiting for quite a long time and I've got no response
from you concerning it.
Can you _please_ at last merge it so it'll make to 3.1?

--
Sincerely yours,
Mike,


>From 5ac2b2824d2d49954aa9897344481e32f2368749 Mon Sep 17 00:00:00 2001
From: Mike Rapoport <mike-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
Date: Mon, 11 Jul 2011 10:28:57 +0300
Subject: [PATCH] i2c: tegra: add I2C_FUNC_SMBUS_EMUL to adapter functionality

as there are a lot of i2c device drivers that require it

Signed-off-by: Mike Rapoport <mike-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
---
 drivers/i2c/busses/i2c-tegra.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers/i2c/busses/i2c-tegra.c
index 4d93196..2fe4951 100644
--- a/drivers/i2c/busses/i2c-tegra.c
+++ b/drivers/i2c/busses/i2c-tegra.c
@@ -524,7 +524,7 @@ static int tegra_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msgs[],
 
 static u32 tegra_i2c_func(struct i2c_adapter *adap)
 {
-	return I2C_FUNC_I2C;
+	return I2C_FUNC_I2C | I2C_FUNC_SMBUS_EMUL;
 }
 
 static const struct i2c_algorithm tegra_i2c_algo = {
-- 
1.7.3.1

             reply	other threads:[~2011-07-11  7:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-11  7:37 mike-UTxiZqZC01RS1MOuV/RT9w [this message]
     [not found] ` <20110711073755.GA8665-3uweYmSlH9aEUzZwfQ66DQU8U8pOX017@public.gmane.org>
2011-07-11  7:49   ` [PATCH RESEND] i2c: tegra: add I2C_FUNC_SMBUS_EMUL to adapter functionality Colin Cross
     [not found]     ` <CAMbhsRS-REFiAiEnukVtarTx7PRrzLT0BHAHdmuPGqDRRppGtw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-07-11  7:50       ` Colin Cross
2011-07-13 21:58       ` Ben Dooks
     [not found]         ` <20110713215820.GG3369-RazCHl0VsYgkUSuvROHNpA@public.gmane.org>
2011-07-17 20:20           ` Mike Rapoport
2011-07-17 20:22           ` Mike Rapoport
2011-07-30 20:19           ` Mike Rapoport

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=20110711073755.GA8665@gentoodev.compulab.local \
    --to=mike-utxizqzc01rs1mouv/rt9w@public.gmane.org \
    --cc="Ben Dooks <ben-i2c-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org>"@mike-pc.compulab.local \
    --cc="Colin Cross <ccross-z5hGa2qSFaRBDgjK7y7TUQ@public.gmane.org>"@mike-pc.compulab.local \
    --cc="Stephen Warren swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org"@mike-pc.compulab.local \
    --cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.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;
as well as URLs for NNTP newsgroup(s).