Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 343223
b: refs/heads/master
c: 3708903
h: refs/heads/master
i:
  343221: 00aa85f
  343219: b8e4bf5
  343215: 67cb9d0
v: v3
  • Loading branch information
Lee Jones authored and Mark Brown committed Dec 10, 2012
1 parent 4950a1e commit 82c1fe9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: ad0b8b9e82b63ad2cc5e6822448adc897f49a5c4
refs/heads/master: 3708903ee60b1b89cbeee00cbc76e9fdbcbbed2e
4 changes: 2 additions & 2 deletions trunk/drivers/regulator/gpio-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ static int gpio_regulator_set_voltage(struct regulator_dev *dev,

for (ptr = 0; ptr < data->nr_gpios; ptr++) {
state = (target & (1 << ptr)) >> ptr;
gpio_set_value(data->gpios[ptr].gpio, state);
gpio_set_value_cansleep(data->gpios[ptr].gpio, state);
}
data->state = target;

Expand Down Expand Up @@ -119,7 +119,7 @@ static int gpio_regulator_set_current_limit(struct regulator_dev *dev,

for (ptr = 0; ptr < data->nr_gpios; ptr++) {
state = (target & (1 << ptr)) >> ptr;
gpio_set_value(data->gpios[ptr].gpio, state);
gpio_set_value_cansleep(data->gpios[ptr].gpio, state);
}
data->state = target;

Expand Down

0 comments on commit 82c1fe9

Please sign in to comment.