aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/busses/i2c-i801.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-i801.c b/drivers/i2c/busses/i2c-i801.c
index e90b6c4e7da3..b05e045f770c 100644
--- a/drivers/i2c/busses/i2c-i801.c
+++ b/drivers/i2c/busses/i2c-i801.c
@@ -513,8 +513,7 @@ static u32 i801_func(struct i2c_adapter *adapter)
513 return I2C_FUNC_SMBUS_QUICK | I2C_FUNC_SMBUS_BYTE | 513 return I2C_FUNC_SMBUS_QUICK | I2C_FUNC_SMBUS_BYTE |
514 I2C_FUNC_SMBUS_BYTE_DATA | I2C_FUNC_SMBUS_WORD_DATA | 514 I2C_FUNC_SMBUS_BYTE_DATA | I2C_FUNC_SMBUS_WORD_DATA |
515 I2C_FUNC_SMBUS_BLOCK_DATA | I2C_FUNC_SMBUS_WRITE_I2C_BLOCK 515 I2C_FUNC_SMBUS_BLOCK_DATA | I2C_FUNC_SMBUS_WRITE_I2C_BLOCK
516 | (isich4 ? I2C_FUNC_SMBUS_BLOCK_DATA_PEC | 516 | (isich4 ? I2C_FUNC_SMBUS_HWPEC_CALC : 0);
517 I2C_FUNC_SMBUS_HWPEC_CALC : 0);
518} 517}
519 518
520static struct i2c_algorithm smbus_algorithm = { 519static struct i2c_algorithm smbus_algorithm = {