diff options
Diffstat (limited to 'drivers/i2c/busses/scx200_acb.c')
-rw-r--r-- | drivers/i2c/busses/scx200_acb.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/i2c/busses/scx200_acb.c b/drivers/i2c/busses/scx200_acb.c index dc64f8b6b24a..e6c4a2b762ec 100644 --- a/drivers/i2c/busses/scx200_acb.c +++ b/drivers/i2c/busses/scx200_acb.c | |||
@@ -310,8 +310,6 @@ static s32 scx200_acb_smbus_xfer(struct i2c_adapter *adapter, | |||
310 | break; | 310 | break; |
311 | 311 | ||
312 | case I2C_SMBUS_I2C_BLOCK_DATA: | 312 | case I2C_SMBUS_I2C_BLOCK_DATA: |
313 | if (rw == I2C_SMBUS_READ) | ||
314 | data->block[0] = I2C_SMBUS_BLOCK_MAX; /* For now */ | ||
315 | len = data->block[0]; | 313 | len = data->block[0]; |
316 | if (len == 0 || len > I2C_SMBUS_BLOCK_MAX) | 314 | if (len == 0 || len > I2C_SMBUS_BLOCK_MAX) |
317 | return -EINVAL; | 315 | return -EINVAL; |