Commit 048e29cf authored by Mike Rapoport's avatar Mike Rapoport Committed by Ben Dooks
Browse files

i2c-tegra: add I2C_FUNC_SMBUS_EMUL

parent 406bd18a
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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)
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 = {
static const struct i2c_algorithm tegra_i2c_algo = {