From 713d723bfb5a7b0ec00cf60162398f215a9bb9da Mon Sep 17 00:00:00 2001 From: Eduardo Valentin Date: Fri, 15 Mar 2013 09:00:20 -0400 Subject: [PATCH] --- yaml --- r: 363483 b: refs/heads/master c: f47f6d31645c5020602469cafa1e6c8a228dcaab h: refs/heads/master i: 363481: d7bfbb114cdbbafb17aa80ab314299dc03c36f18 363479: 459d4bee151bd3e074f4464906fb97dc091b5e97 v: v3 --- [refs] | 2 +- trunk/drivers/staging/omap-thermal/omap-bandgap.c | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 65f5665795e2..e6c32d16bcd5 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 910216890a8db1e7c406839916dc8f3fb85238d6 +refs/heads/master: f47f6d31645c5020602469cafa1e6c8a228dcaab diff --git a/trunk/drivers/staging/omap-thermal/omap-bandgap.c b/trunk/drivers/staging/omap-thermal/omap-bandgap.c index 26d36f361cc2..d001323d1342 100644 --- a/trunk/drivers/staging/omap-thermal/omap-bandgap.c +++ b/trunk/drivers/staging/omap-thermal/omap-bandgap.c @@ -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) {