diff options
Diffstat (limited to 'drivers/i2c/busses/i2c-viapro.c')
-rw-r--r-- | drivers/i2c/busses/i2c-viapro.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-viapro.c b/drivers/i2c/busses/i2c-viapro.c index 7a2bc06304fc..a0f7e4a303b5 100644 --- a/drivers/i2c/busses/i2c-viapro.c +++ b/drivers/i2c/busses/i2c-viapro.c | |||
@@ -235,7 +235,7 @@ static s32 vt596_access(struct i2c_adapter *adap, u16 addr, | |||
235 | if (!(vt596_features & FEATURE_I2CBLOCK)) | 235 | if (!(vt596_features & FEATURE_I2CBLOCK)) |
236 | goto exit_unsupported; | 236 | goto exit_unsupported; |
237 | if (read_write == I2C_SMBUS_READ) | 237 | if (read_write == I2C_SMBUS_READ) |
238 | outb_p(I2C_SMBUS_BLOCK_MAX, SMBHSTDAT0); | 238 | outb_p(data->block[0], SMBHSTDAT0); |
239 | /* Fall through */ | 239 | /* Fall through */ |
240 | case I2C_SMBUS_BLOCK_DATA: | 240 | case I2C_SMBUS_BLOCK_DATA: |
241 | outb_p(command, SMBHSTCMD); | 241 | outb_p(command, SMBHSTCMD); |