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:
f22c2ba
)
regulator: palmas: Add missing ctrl_addr setting for SMPS10
author
Axel Lin
<
[email protected]
>
Fri, 19 Apr 2013 12:33:45 +0000
(20:33 +0800)
committer
Mark Brown
<
[email protected]
>
Mon, 22 Apr 2013 12:27:16 +0000
(13:27 +0100)
The ctrl_addr setting for SMPS10 is missed, thus palmas_smps_init() read/write
wrong register for SMPS10 in current code. Fix it.
Signed-off-by: Axel Lin <
[email protected]
>
Acked-by: Laxman Dewangan <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
drivers/regulator/palmas-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/palmas-regulator.c
b/drivers/regulator/palmas-regulator.c
index a741063226044c91023c6f9bd320bd465931a2ac..552ed514ba25c88f18afec07389d40541f984583 100644
(file)
--- a/
drivers/regulator/palmas-regulator.c
+++ b/
drivers/regulator/palmas-regulator.c
@@
-98,6
+98,7
@@
static const struct regs_info palmas_regs_info[] = {
{
.name = "SMPS10",
.sname = "smps10-in",
+ .ctrl_addr = PALMAS_SMPS10_CTRL,
},
{
.name = "LDO1",