aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/i2c/busses/i2c-nomadik.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/i2c/busses/i2c-nomadik.c b/drivers/i2c/busses/i2c-nomadik.c
index b2dbf7c468af..e461de7167e7 100644
--- a/drivers/i2c/busses/i2c-nomadik.c
+++ b/drivers/i2c/busses/i2c-nomadik.c
@@ -803,10 +803,7 @@ static irqreturn_t i2c_irq_handler(int irq, void *arg)
803 803
804static unsigned int nmk_i2c_functionality(struct i2c_adapter *adap) 804static unsigned int nmk_i2c_functionality(struct i2c_adapter *adap)
805{ 805{
806 return I2C_FUNC_I2C 806 return I2C_FUNC_I2C | I2C_FUNC_SMBUS_EMUL;
807 | I2C_FUNC_SMBUS_BYTE_DATA
808 | I2C_FUNC_SMBUS_WORD_DATA
809 | I2C_FUNC_SMBUS_I2C_BLOCK;
810} 807}
811 808
812static const struct i2c_algorithm nmk_i2c_algo = { 809static const struct i2c_algorithm nmk_i2c_algo = {