summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-tegra.c
diff options
context:
space:
mode:
authorMike Rapoport <mike@compulab.co.il>2011-08-30 11:46:09 -0600
committerBen Dooks <ben-linux@fluff.org>2011-09-07 00:13:34 +0100
commit048e29cff95168ea3a9f176e84cc0bae54d0ae64 (patch)
tree013b1f23f04ed0497725538a1e6c5d188861ec7a /drivers/i2c/busses/i2c-tegra.c
parent406bd18a7a39ef69f1d60a41d9de74932bcb98d4 (diff)
downloadlinux-048e29cff95168ea3a9f176e84cc0bae54d0ae64.tar.gz
linux-048e29cff95168ea3a9f176e84cc0bae54d0ae64.tar.bz2
linux-048e29cff95168ea3a9f176e84cc0bae54d0ae64.zip
i2c-tegra: add I2C_FUNC_SMBUS_EMUL
Signed-off-by: Mike Rapoport <mike@compulab.co.il> Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-tegra.c')
-rw-r--r--drivers/i2c/busses/i2c-tegra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers/i2c/busses/i2c-tegra.c
index 126b4f060231..17ded1d2f11d 100644
--- a/drivers/i2c/busses/i2c-tegra.c
+++ b/drivers/i2c/busses/i2c-tegra.c
@@ -531,7 +531,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 = {