summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEduardo Valentin <eduardo.valentin@ti.com>2013-03-15 14:00:18 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-15 17:02:22 +0100
commitf8ccce20bfaeac648f44c24a140eda6e982239e1 (patch)
tree20d00657ae636b9544edce498a56b6d0f3af29dc
parentstaging: omap-thermal: document omap_bandgap_add_hyst function (diff)
downloadlinux-f8ccce20bfaeac648f44c24a140eda6e982239e1.tar.xz
linux-f8ccce20bfaeac648f44c24a140eda6e982239e1.zip
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>
-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 bff4b757c51a..f86c104df951 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)