mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-07 07:08:07 +00:00
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>
This commit is contained in:
parent
406bd18a7a
commit
048e29cff9
1 changed files with 1 additions and 1 deletions
|
@ -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 = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue