提交 a7dddf27 编写于 作者: G Graeme Gregory 提交者: Mark Brown

regulator: palmas: fix number of SMPS voltages

Number of voltages for SMPS regulators was off by one.
Signed-off-by: NGraeme Gregory <gg@slimlogic.co.uk>
Signed-off-by: NIan Lartey <ian@slimlogic.co.uk>
Acked-by: NLaxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 2730fd82
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
* Copyright 2011-2012 Texas Instruments Inc. * Copyright 2011-2012 Texas Instruments Inc.
* *
* Author: Graeme Gregory <gg@slimlogic.co.uk> * Author: Graeme Gregory <gg@slimlogic.co.uk>
* Author: Ian Lartey <ian@slimlogic.co.uk>
* *
* This program is free software; you can redistribute it and/or modify it * This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the * under the terms of the GNU General Public License as published by the
...@@ -156,7 +157,7 @@ static const struct regs_info palmas_regs_info[] = { ...@@ -156,7 +157,7 @@ static const struct regs_info palmas_regs_info[] = {
* *
* So they are basically (maxV-minV)/stepV * So they are basically (maxV-minV)/stepV
*/ */
#define PALMAS_SMPS_NUM_VOLTAGES 116 #define PALMAS_SMPS_NUM_VOLTAGES 117
#define PALMAS_SMPS10_NUM_VOLTAGES 2 #define PALMAS_SMPS10_NUM_VOLTAGES 2
#define PALMAS_LDO_NUM_VOLTAGES 50 #define PALMAS_LDO_NUM_VOLTAGES 50
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册