summaryrefslogtreecommitdiff
path: root/drivers/staging/omap-thermal
diff options
context:
space:
mode:
authorEduardo Valentin <eduardo.valentin@ti.com>2013-03-15 13:00:18 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-15 16:02:22 (GMT)
commitf8ccce20bfaeac648f44c24a140eda6e982239e1 (patch)
tree20d00657ae636b9544edce498a56b6d0f3af29dc /drivers/staging/omap-thermal
parent8a1cefe857ae936d5a5f731eb301737139434580 (diff)
downloadlinux-fsl-qoriq-f8ccce20bfaeac648f44c24a140eda6e982239e1.tar.xz
staging: omap-thermal: threshold manipulation section
Section of functions manipulating thresholds for Alert and Shutdown. Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/omap-thermal')
-rw-r--r--drivers/staging/omap-thermal/omap-bandgap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/omap-thermal/omap-bandgap.c b/drivers/staging/omap-thermal/omap-bandgap.c
index bff4b75..f86c104 100644
--- a/drivers/staging/omap-thermal/omap-bandgap.c
+++ b/drivers/staging/omap-thermal/omap-bandgap.c
@@ -335,6 +335,8 @@ exit:
return ret;
}
+/*** Helper functions handling device Alert/Shutdown signals ***/
+
/* Talert masks. Call it only if HAS(TALERT) is set */
static int temp_sensor_unmask_interrupts(struct omap_bandgap *bg_ptr, int id,
u32 t_hot, u32 t_cold)