Thread (1 message) 1 message, 1 author, 2011-07-11

Re: [PATCH RESEND] i2c: tegra: add I2C_FUNC_SMBUS_EMUL to adapter functionality

From: Colin Cross <hidden>
Date: 2011-07-11 07:49:33
Also in: linux-i2c

Possibly related (same subject, not in this thread)

On Mon, Jul 11, 2011 at 12:37 AM,  [off-list ref] wrote:
quoted hunk
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

--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Your mailer added @mike-pc.compulab.local to all of the addresses.

Acked-by: Colin Cross <redacted>

It should go in through Ben's tree.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help