projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
406bd18
)
i2c-tegra: add I2C_FUNC_SMBUS_EMUL
author
Mike Rapoport
<mike@compulab.co.il>
Tue, 30 Aug 2011 17:46:09 +0000
(11:46 -0600)
committer
Ben Dooks
<ben-linux@fluff.org>
Tue, 6 Sep 2011 23:13:34 +0000
(
00:13
+0100)
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>
drivers/i2c/busses/i2c-tegra.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/i2c/busses/i2c-tegra.c
b/drivers/i2c/busses/i2c-tegra.c
index 126b4f06023131df2f1c761d079cfb77ee5d9310..17ded1d2f11d52e1330205f07c26c2dbdc89bd03 100644
(file)
--- a/
drivers/i2c/busses/i2c-tegra.c
+++ b/
drivers/i2c/busses/i2c-tegra.c
@@
-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 = {