aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/hwmon/sht15.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/sht15.c b/drivers/hwmon/sht15.c
index 91fdd1fe18b0..8b011d016621 100644
--- a/drivers/hwmon/sht15.c
+++ b/drivers/hwmon/sht15.c
@@ -806,7 +806,7 @@ static void sht15_bh_read_data(struct work_struct *work_s)
806 */ 806 */
807 atomic_set(&data->interrupt_handled, 0); 807 atomic_set(&data->interrupt_handled, 0);
808 enable_irq(gpio_to_irq(data->pdata->gpio_data)); 808 enable_irq(gpio_to_irq(data->pdata->gpio_data));
809 /* If still not occurred or another handler has been scheduled */ 809 /* If still not occurred or another handler was scheduled */
810 if (gpio_get_value(data->pdata->gpio_data) 810 if (gpio_get_value(data->pdata->gpio_data)
811 || atomic_read(&data->interrupt_handled)) 811 || atomic_read(&data->interrupt_handled))
812 return; 812 return;