Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 363823
b: refs/heads/master
c: 422a306
h: refs/heads/master
i:
  363821: cb96ec7
  363819: 25c486c
  363815: af8714d
  363807: cb7974b
v: v3
  • Loading branch information
Eduardo Valentin authored and Greg Kroah-Hartman committed Apr 1, 2013
1 parent 10f3063 commit 73580b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: af56976dd21efe8e91d5175913c2b1f7be91c651
refs/heads/master: 422a3063802c9c1f9ef1bf7daa71038b91aff2ab
8 changes: 5 additions & 3 deletions trunk/drivers/staging/ti-soc-thermal/ti-bandgap.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,17 +100,19 @@ do { \
*/
static int ti_bandgap_power(struct ti_bandgap *bgp, bool on)
{
int i;
int i, ret = 0;

if (!TI_BANDGAP_HAS(bgp, POWER_SWITCH))
if (!TI_BANDGAP_HAS(bgp, POWER_SWITCH)) {
ret = -ENOTSUPP;
goto exit;
}

for (i = 0; i < bgp->conf->sensor_count; i++)
/* active on 0 */
RMW_BITS(bgp, i, temp_sensor_ctrl, bgap_tempsoff_mask, !on);

exit:
return 0;
return ret;
}

/**
Expand Down

0 comments on commit 73580b9

Please sign in to comment.