summaryrefslogtreecommitdiff
path: root/drivers/hwmon/abx500.c
diff options
context:
space:
mode:
authorDaniel Willerud <daniel.willerud@stericsson.com>2011-08-25 17:39:18 +0200
committerUlf Hansson <ulf.hansson@stericsson.com>2011-09-19 16:07:26 +0200
commite41236700ce4a274f435d42b667eb5ced5338fa7 (patch)
treebe787cef694e84dfc2f18e471b072e0d2ebb9025 /drivers/hwmon/abx500.c
parentdbf61ebf1e656593b06364e6a090616e4a7ac3d6 (diff)
ux500: Thermal power off
To determine whether the system had a thermal power off or a regular software power off upon the next boot, the system must utilize the thermal power off bit, ThDB8500SWoff, in AB8500 register STw4500Ctrl1. ST-Ericsson ID: 354533 ST-Ericsson Linux next: N/A ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I07440dcdc39a86cb72aa95d86411a1f020b05cae Signed-off-by: Daniel Willerud <daniel.willerud@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/28515 Reviewed-by: QABUILD Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Diffstat (limited to 'drivers/hwmon/abx500.c')
-rw-r--r--drivers/hwmon/abx500.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/abx500.c b/drivers/hwmon/abx500.c
index 6666dc27065..68da2d03dbd 100644
--- a/drivers/hwmon/abx500.c
+++ b/drivers/hwmon/abx500.c
@@ -163,6 +163,7 @@ static void gpadc_monitor(struct work_struct *work)
ret);
break;
}
+ hwmon_notify(data->max_alarm[i], NULL);
sysfs_notify(&data->pdev->dev.kobj, NULL, alarm_node);
}
if (updated_max_hyst_alarm) {