MLK-20380: i2c: xenfront: fix i2cdetect bug
The bug is when using i2cdetect in DomU, some i2c device will be skiped, fixed this through add I2C_FUNC_SMBUS_QUICK functionality. Signed-off-by: Flynn xu <flynn.xu@nxp.com>pull/10/head
parent
0827d5636a
commit
f210076aad
|
@ -262,7 +262,7 @@ static int i2cfront_smbus_xfer(struct i2c_adapter *adapter, u16 addr,
|
|||
static u32 i2cfront_func(struct i2c_adapter *adapter)
|
||||
{
|
||||
return I2C_FUNC_I2C | I2C_FUNC_SMBUS_BYTE_DATA |
|
||||
I2C_FUNC_SMBUS_BYTE | I2C_FUNC_SMBUS_WORD_DATA |
|
||||
I2C_FUNC_SMBUS_BYTE | I2C_FUNC_SMBUS_WORD_DATA | I2C_FUNC_SMBUS_QUICK |
|
||||
I2C_FUNC_SMBUS_BLOCK_DATA | I2C_FUNC_SMBUS_I2C_BLOCK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue