]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - drivers/i2c/chips/max6875.c
Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6
[linux-2.6.git] / drivers / i2c / chips / max6875.c
index 4e238c0a7ca3ab5c6816abb99c2db1596117f2cb..64692f666372e374cacfeaedaab1bad5293b3e1f 100644 (file)
@@ -106,6 +106,7 @@ static void max6875_update_slice(struct i2c_client *client, int slice)
                                            I2C_FUNC_SMBUS_READ_I2C_BLOCK)) {
                        if (i2c_smbus_read_i2c_block_data(client,
                                                          MAX6875_CMD_BLK_READ,
+                                                         SLICE_SIZE,
                                                          buf) != SLICE_SIZE) {
                                goto exit_up;
                        }