summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorEduardo Valentin <eduardo.valentin@ti.com>2013-03-15 13:00:25 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-15 16:02:23 (GMT)
commita84b6f4552e1db00a6e6ffbd85b35c0a169be02c (patch)
treed263cf841d394d0a3615d8fe12aca398876fea40 /drivers
parent37bf871dd0ad55c3a66d8a22e3cd5be0d9588e78 (diff)
downloadlinux-fsl-qoriq-a84b6f4552e1db00a6e6ffbd85b35c0a169be02c.tar.xz
staging: omap-thermal: update omap_bandgap_set_continous_mode documentation
Simple update on function documentation. Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/omap-thermal/omap-bandgap.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/staging/omap-thermal/omap-bandgap.c b/drivers/staging/omap-thermal/omap-bandgap.c
index e325269..d893931 100644
--- a/drivers/staging/omap-thermal/omap-bandgap.c
+++ b/drivers/staging/omap-thermal/omap-bandgap.c
@@ -730,10 +730,13 @@ omap_bandgap_force_single_read(struct omap_bandgap *bg_ptr, int id)
}
/**
- * enable_continuous_mode() - One time enabling of continuous conversion mode
- * @bg_ptr - pointer to scm instance
+ * omap_bandgap_set_continous_mode() - One time enabling of continuous mode
+ * @bg_ptr: pointer to struct omap_bandgap
*
- * Call this function only if HAS(MODE_CONFIG) is set
+ * Call this function only if HAS(MODE_CONFIG) is set. As this driver may
+ * be used for junction temperature monitoring, it is desirable that the
+ * sensors are operational all the time, so that alerts are generated
+ * properly.
*/
static int omap_bandgap_set_continuous_mode(struct omap_bandgap *bg_ptr)
{