summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/palmas-regulator.c
diff options
context:
space:
mode:
authorGraeme Gregory <gg@slimlogic.co.uk>2013-02-23 16:35:40 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-03-01 15:42:04 +0800
commita7dddf2757d09ba38683b359a721dc2efe85cd24 (patch)
tree0b86cffe68e9ba11742ad7bb8c6ffaad6d784a42 /drivers/regulator/palmas-regulator.c
parent2730fd82cbb922e6be8df08ba32c21be41757d3d (diff)
downloadblackbird-op-linux-a7dddf2757d09ba38683b359a721dc2efe85cd24.tar.gz
blackbird-op-linux-a7dddf2757d09ba38683b359a721dc2efe85cd24.zip
regulator: palmas: fix number of SMPS voltages
Number of voltages for SMPS regulators was off by one. Signed-off-by: Graeme Gregory <gg@slimlogic.co.uk> Signed-off-by: Ian Lartey <ian@slimlogic.co.uk> Acked-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/palmas-regulator.c')
-rw-r--r--drivers/regulator/palmas-regulator.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/regulator/palmas-regulator.c b/drivers/regulator/palmas-regulator.c
index cde13bb5a8fb..39cf14606784 100644
--- a/drivers/regulator/palmas-regulator.c
+++ b/drivers/regulator/palmas-regulator.c
@@ -4,6 +4,7 @@
* Copyright 2011-2012 Texas Instruments Inc.
*
* 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
* 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[] = {
*
* 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_LDO_NUM_VOLTAGES 50
OpenPOWER on IntegriCloud