diff options
author | Prashant Gaikwad <pgaikwad@nvidia.com> | 2011-01-19 18:01:11 +0530 |
---|---|---|
committer | Niket Sirsi <nsirsi@nvidia.com> | 2011-01-19 13:28:22 -0800 |
commit | 54b38123cfac7aa09b383fb05e57c4d9c842607f (patch) | |
tree | 632fdb2987d2d1b2584f3450a451282deeb22f6f /drivers | |
parent | fa24cce6997064aeb7610762aa75815d88f3e279 (diff) |
i2c: tegra: functionality for byte data
ADXL34x expects I2C_FUNC_SMBUS_BYTE_DATA functionality.
Bug 780004
Change-Id: I7820050e7b94eec8614bb42bb1a83319a1408203
Reviewed-on: http://git-master/r/16235
Tested-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/i2c/busses/i2c-tegra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers/i2c/busses/i2c-tegra.c index 8128be571328..14ef9f3a8f02 100644 --- a/drivers/i2c/busses/i2c-tegra.c +++ b/drivers/i2c/busses/i2c-tegra.c @@ -532,7 +532,7 @@ static u32 tegra_i2c_func(struct i2c_adapter *adap) { /* FIXME: For now keep it simple and don't support protocol mangling features */ - return I2C_FUNC_I2C | I2C_FUNC_SMBUS_BYTE; + return I2C_FUNC_I2C | I2C_FUNC_SMBUS_BYTE | I2C_FUNC_SMBUS_BYTE_DATA; } static const struct i2c_algorithm tegra_i2c_algo = { |