aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/i2c/busses/i2c-designware.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-designware.c b/drivers/i2c/busses/i2c-designware.c
index c3702a8647cb..5ba7e55eb7f4 100644
--- a/drivers/i2c/busses/i2c-designware.c
+++ b/drivers/i2c/busses/i2c-designware.c
@@ -528,7 +528,12 @@ done:
528 528
529static u32 i2c_dw_func(struct i2c_adapter *adap) 529static u32 i2c_dw_func(struct i2c_adapter *adap)
530{ 530{
531 return I2C_FUNC_I2C | I2C_FUNC_10BIT_ADDR; 531 return I2C_FUNC_I2C |
532 I2C_FUNC_10BIT_ADDR |
533 I2C_FUNC_SMBUS_BYTE |
534 I2C_FUNC_SMBUS_BYTE_DATA |
535 I2C_FUNC_SMBUS_WORD_DATA |
536 I2C_FUNC_SMBUS_I2C_BLOCK;
532} 537}
533 538
534static u32 i2c_dw_read_clear_intrbits(struct dw_i2c_dev *dev) 539static u32 i2c_dw_read_clear_intrbits(struct dw_i2c_dev *dev)