summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/ab8500.c
diff options
context:
space:
mode:
authorAxel Lin2013-04-12 09:33:25 +0200
committerMark Brown2013-04-12 14:29:33 +0200
commite4fc9d6d9fea5a1b05dcf5b60984bd6a19cc73d6 (patch)
treeedba335ac402aebe51ae6d5fd08b71a58cfb2a5d /drivers/regulator/ab8500.c
parentregulator: ab8500: Unregister ab8500-ext regulators in probe() failure path (diff)
downloadkernel-qcow2-linux-e4fc9d6d9fea5a1b05dcf5b60984bd6a19cc73d6.tar.gz
kernel-qcow2-linux-e4fc9d6d9fea5a1b05dcf5b60984bd6a19cc73d6.tar.xz
kernel-qcow2-linux-e4fc9d6d9fea5a1b05dcf5b60984bd6a19cc73d6.zip
regulator: ab8500: Fix voltage_mask for AB8505_LDO_AUDIO
The voltage_mask and voltage_shift settings of AB8505_LDO_AUDIO are not matched. It looks like a typo in the voltage_mask settings. Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/ab8500.c')
-rw-r--r--drivers/regulator/ab8500.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/ab8500.c b/drivers/regulator/ab8500.c
index ea182d3c23e6..b81ff04749c3 100644
--- a/drivers/regulator/ab8500.c
+++ b/drivers/regulator/ab8500.c
@@ -1130,7 +1130,7 @@ static struct ab8500_regulator_info
.update_val = 0x02,
.voltage_bank = 0x01,
.voltage_reg = 0x57,
- .voltage_mask = 0x7,
+ .voltage_mask = 0x70,
.voltage_shift = 4,
},
[AB8505_LDO_ANAMIC1] = {