summaryrefslogtreecommitdiff
path: root/drivers/hwmon/ab8500.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/ab8500.c')
-rw-r--r--drivers/hwmon/ab8500.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hwmon/ab8500.c b/drivers/hwmon/ab8500.c
index 45a8ef675b3..db601e3158d 100644
--- a/drivers/hwmon/ab8500.c
+++ b/drivers/hwmon/ab8500.c
@@ -117,6 +117,8 @@ static int ab8500_temp_irq_handler(int irq, struct abx500_temp *data)
mutex_lock(&data->lock);
data->crit_alarm[4] = 1;
mutex_unlock(&data->lock);
+
+ hwmon_notify(data->crit_alarm[4], NULL);
sysfs_notify(&data->pdev->dev.kobj, NULL, "temp5_crit_alarm");
dev_info(&data->pdev->dev, "AB8500 thermal warning,"
" power off in %lu s\n", data->power_off_delay);