Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 363460
b: refs/heads/master
c: 3d84e52
h: refs/heads/master
v: v3
  • Loading branch information
Eduardo Valentin authored and Greg Kroah-Hartman committed Mar 15, 2013
1 parent 4847571 commit c5a59bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 9c468aa2d5a376d4b3a1b5aac867f75c0754abed
refs/heads/master: 3d84e52962f1ec1720bf0d7e84d9e3e4b1e35d16
3 changes: 2 additions & 1 deletion trunk/drivers/staging/omap-thermal/omap-bandgap.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,13 @@ static int omap_bandgap_power(struct omap_bandgap *bg_ptr, bool on)
int i;

if (!OMAP_BANDGAP_HAS(bg_ptr, POWER_SWITCH))
return 0;
goto exit;

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

exit:
return 0;
}

Expand Down

0 comments on commit c5a59bf

Please sign in to comment.