net/mlx5e: Fix memory leak if refreshing TIRs fails
[deliverable/linux.git] / drivers / hwmon / sht3x.c
index b73a4883273230f770206d0b4458f3e0f41dc7f7..6ea99cd6ae796c62f32a030bd0d153776b3cb1a6 100644 (file)
@@ -720,7 +720,7 @@ static int sht3x_probe(struct i2c_client *client,
        data->setup.blocking_io = false;
        data->setup.high_precision = true;
        data->mode = 0;
-       data->last_update = 0;
+       data->last_update = jiffies - msecs_to_jiffies(3000);
        data->client = client;
        crc8_populate_msb(sht3x_crc8_table, SHT3X_CRC8_POLYNOMIAL);
 
This page took 0.031535 seconds and 5 git commands to generate.