diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-04-15 10:36:51 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-04-15 17:54:25 +0200 |
commit | 375dc9c141b4d62b92bb171817039ef764c61d9f (patch) | |
tree | 3f079e10e4d4eebca71ae25cba5297dd977d2abc /drivers/regulator/ab8500.c | |
parent | regulator: ab8500: Fix voltage_mask for AB8505_LDO_AUDIO (diff) | |
download | linux-375dc9c141b4d62b92bb171817039ef764c61d9f.tar.xz linux-375dc9c141b4d62b92bb171817039ef764c61d9f.zip |
regulator: ab8500: Fix voltage_shift setting for AB8540_LDO_DMIC
The voltage_mask is 0xc0, thus we need to set voltage_shift = 6 to get correct
selector in get_voltage_sel and set_voltage_sel.
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/ab8500.c b/drivers/regulator/ab8500.c index b81ff04749c3..0a62ef942cfb 100644 --- a/drivers/regulator/ab8500.c +++ b/drivers/regulator/ab8500.c @@ -1729,6 +1729,7 @@ static struct ab8500_regulator_info .voltage_bank = 0x03, .voltage_reg = 0x83, .voltage_mask = 0xc0, + .voltage_shift = 6, }, /* |