]> Git Repo - linux.git/commitdiff
i2c-tegra: add I2C_FUNC_SMBUS_EMUL
authorMike Rapoport <[email protected]>
Tue, 30 Aug 2011 17:46:09 +0000 (11:46 -0600)
committerBen Dooks <[email protected]>
Tue, 6 Sep 2011 23:13:34 +0000 (00:13 +0100)
Signed-off-by: Mike Rapoport <[email protected]>
Signed-off-by: Stephen Warren <[email protected]>
Signed-off-by: Ben Dooks <[email protected]>
drivers/i2c/busses/i2c-tegra.c

index 126b4f06023131df2f1c761d079cfb77ee5d9310..17ded1d2f11d52e1330205f07c26c2dbdc89bd03 100644 (file)
@@ -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 = {
This page took 0.060126 seconds and 4 git commands to generate.