diff options
Diffstat (limited to 'drivers/i2c/chips/max6875.c')
-rw-r--r-- | drivers/i2c/chips/max6875.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/chips/max6875.c b/drivers/i2c/chips/max6875.c index 76645c142977..e9e9e5171b53 100644 --- a/drivers/i2c/chips/max6875.c +++ b/drivers/i2c/chips/max6875.c | |||
@@ -106,6 +106,7 @@ static void max6875_update_slice(struct i2c_client *client, int slice) | |||
106 | I2C_FUNC_SMBUS_READ_I2C_BLOCK)) { | 106 | I2C_FUNC_SMBUS_READ_I2C_BLOCK)) { |
107 | if (i2c_smbus_read_i2c_block_data(client, | 107 | if (i2c_smbus_read_i2c_block_data(client, |
108 | MAX6875_CMD_BLK_READ, | 108 | MAX6875_CMD_BLK_READ, |
109 | SLICE_SIZE, | ||
109 | buf) != SLICE_SIZE) { | 110 | buf) != SLICE_SIZE) { |
110 | goto exit_up; | 111 | goto exit_up; |
111 | } | 112 | } |