Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 127860
b: refs/heads/master
c: cf7bbcd
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown authored and Liam Girdwood committed Jan 8, 2009
1 parent 854e6b6 commit 8f2aa71
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 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: c8e7e4640facbe99d10a6e262523b25be129b9b9
refs/heads/master: cf7bbcdf4d267eff580cb7ce6cf4fe16a940a005
18 changes: 11 additions & 7 deletions trunk/drivers/regulator/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1012,10 +1012,12 @@ static int _regulator_enable(struct regulator_dev *rdev)
* regulator_enable - enable regulator output
* @regulator: regulator source
*
* Enable the regulator output at the predefined voltage or current value.
* Request that the regulator be enabled with the regulator output at
* the predefined voltage or current value. Calls to regulator_enable()
* must be balanced with calls to regulator_disable().
*
* NOTE: the output value can be set by other drivers, boot loader or may be
* hardwired in the regulator. Calls to regulator_enable() must be balanced
* with calls to regulator_disable().
* hardwired in the regulator.
*/
int regulator_enable(struct regulator *regulator)
{
Expand Down Expand Up @@ -1073,11 +1075,13 @@ static int _regulator_disable(struct regulator_dev *rdev)
* regulator_disable - disable regulator output
* @regulator: regulator source
*
* Disable the regulator output voltage or current.
* Disable the regulator output voltage or current. Calls to
* regulator_enable() must be balanced with calls to
* regulator_disable().
*
* NOTE: this will only disable the regulator output if no other consumer
* devices have it enabled. Calls to regulator_enable() must be balanced with
* calls to regulator_disable().
* devices have it enabled, the regulator device supports disabling and
* machine constraints permit this operation.
*/
int regulator_disable(struct regulator *regulator)
{
Expand Down Expand Up @@ -1936,7 +1940,7 @@ void regulator_unregister(struct regulator_dev *rdev)
EXPORT_SYMBOL_GPL(regulator_unregister);

/**
* regulator_suspend_prepare: prepare regulators for system wide suspend
* regulator_suspend_prepare - prepare regulators for system wide suspend
* @state: system suspend state
*
* Configure each regulator with it's suspend operating parameters for state.
Expand Down

0 comments on commit 8f2aa71

Please sign in to comment.