提交 e31089c6 编写于 作者: A Axel Lin 提交者: Mark Brown

regulator: palmas: Add missing ctrl_addr setting for SMPS10

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: NAxel Lin <axel.lin@ingics.com>
Acked-by: NLaxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 f22c2bae
...@@ -98,6 +98,7 @@ static const struct regs_info palmas_regs_info[] = { ...@@ -98,6 +98,7 @@ static const struct regs_info palmas_regs_info[] = {
{ {
.name = "SMPS10", .name = "SMPS10",
.sname = "smps10-in", .sname = "smps10-in",
.ctrl_addr = PALMAS_SMPS10_CTRL,
}, },
{ {
.name = "LDO1", .name = "LDO1",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册