projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
902daf6
)
regulator: max8952 - fix wrong gpio valid check
author
Jonghwan Choi
<jhbird.choi@samsung.com>
Wed, 15 Jun 2011 08:54:12 +0000
(17:54 +0900)
committer
Liam Girdwood
<lrg@slimlogic.co.uk>
Fri, 8 Jul 2011 18:14:57 +0000
(19:14 +0100)
Signed-off-by: Jonghwan Choi <jhbird.choi@samsung.com>
Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/max8952.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/regulator/max8952.c
b/drivers/regulator/max8952.c
index daff7fd0e95c14d7ace35894e7ad8351334f4107..486ed8141fcddc93dc13b7c5f91a58e8fd8baf10 100644
(file)
--- a/
drivers/regulator/max8952.c
+++ b/
drivers/regulator/max8952.c
@@
-139,7
+139,7
@@
static int max8952_set_voltage(struct regulator_dev *rdev,
s8 vid = -1, i;
if (!gpio_is_valid(max8952->pdata->gpio_vid0) ||
- !gpio_is_valid(max8952->pdata->gpio_vid
0
)) {
+ !gpio_is_valid(max8952->pdata->gpio_vid
1
)) {
/* DVS not supported */
return -EPERM;
}