diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2012-06-13 15:42:37 +0530 |
---|---|---|
committer | Wolfram Sang <w.sang@pengutronix.de> | 2012-07-08 12:49:15 +0200 |
commit | a70181049fc7b619ddc10cc1b956e7ee04b5bddd (patch) | |
tree | b8061fba2e57ac03cf6a9a6431d6fbee55cc6d87 /drivers/i2c/busses/i2c-tegra.c | |
parent | ec7aaca2f64f509f45d463d784b41d0b3d2be083 (diff) | |
download | linux-a70181049fc7b619ddc10cc1b956e7ee04b5bddd.tar.bz2 |
i2c: tegra: add PROTOCOL_MANGLING as supported functionality.
The Tegra i2c driver supports the I2C_M_IGNORE_NAK and hence
returning I2C_FUNC_PROTOCOL_MANGLING as supported functionality.
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-tegra.c')
-rw-r--r-- | drivers/i2c/busses/i2c-tegra.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers/i2c/busses/i2c-tegra.c index 785f7f7a344a..68433aeaa2e8 100644 --- a/drivers/i2c/busses/i2c-tegra.c +++ b/drivers/i2c/busses/i2c-tegra.c @@ -563,7 +563,8 @@ 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 | I2C_FUNC_SMBUS_EMUL | I2C_FUNC_10BIT_ADDR; + return I2C_FUNC_I2C | I2C_FUNC_SMBUS_EMUL | I2C_FUNC_10BIT_ADDR | + I2C_FUNC_PROTOCOL_MANGLING; } static const struct i2c_algorithm tegra_i2c_algo = { |