Commit f47f6d31 authored by Eduardo Valentin's avatar Eduardo Valentin Committed by Greg Kroah-Hartman

staging: omap-thermal: update omap_bandgap_unmask_interrupts documentation

Proper document the function to configure the IRQ event masks.
Signed-off-by: default avatarEduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 91021689
......@@ -337,7 +337,15 @@ int omap_bandgap_add_hyst(struct omap_bandgap *bg_ptr, int adc_val,
/*** Helper functions handling device Alert/Shutdown signals ***/
/* Talert masks. Call it only if HAS(TALERT) is set */
/**
* omap_bandgap_unmask_interrupts() - unmasks the events of thot & tcold
* @bg_ptr: struct omap_bandgap pointer
* @t_hot: hot temperature value to trigger alert signal
* @t_cold: cold temperature value to trigger alert signal
*
* Checks the requested t_hot and t_cold values and configures the IRQ event
* masks accordingly. Call this function only if bandgap features HAS(TALERT).
*/
static void omap_bandgap_unmask_interrupts(struct omap_bandgap *bg_ptr, int id,
u32 t_hot, u32 t_cold)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment