|
@@ -285,7 +285,7 @@ static int pca955x_probe(struct i2c_client *client,
|
|
|
"slave address 0x%02x\n",
|
|
|
client->name, chip->bits, client->addr);
|
|
|
|
|
|
- if (!i2c_check_functionality(adapter, I2C_FUNC_I2C))
|
|
|
+ if (!i2c_check_functionality(adapter, I2C_FUNC_SMBUS_BYTE_DATA))
|
|
|
return -EIO;
|
|
|
|
|
|
if (pdata) {
|