diff options
Diffstat (limited to 'drivers/hwmon/hih6130.c')
-rw-r--r-- | drivers/hwmon/hih6130.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/hwmon/hih6130.c b/drivers/hwmon/hih6130.c index 0e01c4e13e33..7b73d2002d3e 100644 --- a/drivers/hwmon/hih6130.c +++ b/drivers/hwmon/hih6130.c | |||
@@ -238,6 +238,9 @@ static int hih6130_probe(struct i2c_client *client, | |||
238 | hih6130->client = client; | 238 | hih6130->client = client; |
239 | mutex_init(&hih6130->lock); | 239 | mutex_init(&hih6130->lock); |
240 | 240 | ||
241 | if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_QUICK)) | ||
242 | hih6130->write_length = 1; | ||
243 | |||
241 | hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name, | 244 | hwmon_dev = devm_hwmon_device_register_with_groups(dev, client->name, |
242 | hih6130, | 245 | hih6130, |
243 | hih6130_groups); | 246 | hih6130_groups); |