Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 363493
b: refs/heads/master
c: d3790b3
h: refs/heads/master
i:
  363491: 40efc0f
v: v3
  • Loading branch information
Eduardo Valentin authored and Greg Kroah-Hartman committed Mar 15, 2013
1 parent 1cd2226 commit 6100f0b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7a681a50ed97c7db60fdde608d885533b9f98acb
refs/heads/master: d3790b3ddcccd2c62cb83aae33a36d3cb028506d
12 changes: 12 additions & 0 deletions trunk/drivers/staging/omap-thermal/omap-bandgap.c
Original file line number Diff line number Diff line change
Expand Up @@ -798,6 +798,18 @@ static int omap_bandgap_set_continuous_mode(struct omap_bandgap *bg_ptr)
return 0;
}

/**
* omap_bandgap_tshut_init() - setup and initialize tshut handling
* @bg_ptr: pointer to struct omap_bandgap
* @pdev: pointer to device struct platform_device
*
* Call this function only in case the bandgap features HAS(TSHUT).
* In this case, the driver needs to handle the TSHUT signal as an IRQ.
* The IRQ is wired as a GPIO, and for this purpose, it is required
* to specify which GPIO line is used. TSHUT IRQ is fired anytime
* one of the bandgap sensors violates the TSHUT high/hot threshold.
* And in that case, the system must go off.
*/
static int omap_bandgap_tshut_init(struct omap_bandgap *bg_ptr,
struct platform_device *pdev)
{
Expand Down

0 comments on commit 6100f0b

Please sign in to comment.