projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1600f9d
)
regulator: fix enabling regulator issue on max8925
author
Haojian Zhuang
<haojian.zhuang@marvell.com>
Tue, 6 Apr 2010 10:19:15 +0000
(06:19 -0400)
committer
Liam Girdwood
<lrg@slimlogic.co.uk>
Wed, 28 Apr 2010 14:24:34 +0000
(15:24 +0100)
Fix regulator enabling issue that is caused by typo error in is_enabled().
Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/max8925-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/max8925-regulator.c
b/drivers/regulator/max8925-regulator.c
index b6218f11c957ada5b98d5f3bd50d5c2093260ddd..552cad85ae5a2418ce7aec4430e3f111cb78c5c0 100644
(file)
--- a/
drivers/regulator/max8925-regulator.c
+++ b/
drivers/regulator/max8925-regulator.c
@@
-109,7
+109,7
@@
static int max8925_is_enabled(struct regulator_dev *rdev)
struct max8925_regulator_info *info = rdev_get_drvdata(rdev);
int ret;
- ret = max8925_reg_read(info->i2c, info->
vol
_reg);
+ ret = max8925_reg_read(info->i2c, info->
enable
_reg);
if (ret < 0)
return ret;