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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>
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@xxxxxxxxxxxxxx>
---
 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-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux