projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1130e5b
)
regulator: Assign return value of mc13xxx_reg_rmw to ret
author
Axel Lin
<
[email protected]
>
Mon, 3 Jan 2011 15:57:38 +0000
(23:57 +0800)
committer
Liam Girdwood
<
[email protected]
>
Wed, 12 Jan 2011 14:33:05 +0000
(14:33 +0000)
Otherwise, we will not return error if write to MC13892_SWITCHERS5 failed.
Signed-off-by: Axel Lin <
[email protected]
>
Acked-by: Yong Shen <
[email protected]
>
Acked-by: Mark Brown <
[email protected]
>
Signed-off-by: Liam Girdwood <
[email protected]
>
drivers/regulator/mc13892-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/mc13892-regulator.c
b/drivers/regulator/mc13892-regulator.c
index 16a053243f920a5969a5102110b1cdf878defae6..1b8f7398a4a8f9709a17d17463be54afcbda9ae4 100644
(file)
--- a/
drivers/regulator/mc13892-regulator.c
+++ b/
drivers/regulator/mc13892-regulator.c
@@
-550,7
+550,7
@@
static int __devinit mc13892_regulator_probe(struct platform_device *pdev)
if (ret)
goto err_free;
- mc13xxx_reg_rmw(mc13892, MC13892_SWITCHERS5,
+
ret =
mc13xxx_reg_rmw(mc13892, MC13892_SWITCHERS5,
MC13892_SWITCHERS5_SW3MODE_M |
MC13892_SWITCHERS5_SW4MODE_M,
MC13892_SWITCHERS5_SW3MODE_AUTO |