提交 ac3f5753 编写于 作者: J Jean Delvare 提交者: Jean Delvare

i2c-nforce2: Declare PEC as supported

The i2c-nforce2 driver has SMBus PEC support, so it should say so.
Signed-off-by: NJean Delvare <khali@linux-fr.org>
上级 d49584c4
......@@ -264,6 +264,7 @@ static u32 nforce2_func(struct i2c_adapter *adapter)
/* other functionality might be possible, but is not tested */
return I2C_FUNC_SMBUS_QUICK | I2C_FUNC_SMBUS_BYTE |
I2C_FUNC_SMBUS_BYTE_DATA | I2C_FUNC_SMBUS_WORD_DATA |
I2C_FUNC_SMBUS_PEC |
(((struct nforce2_smbus*)adapter->algo_data)->blockops ?
I2C_FUNC_SMBUS_BLOCK_DATA : 0);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册