diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-04-15 16:36:51 +0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-04-15 16:54:25 +0100 |
commit | 375dc9c141b4d62b92bb171817039ef764c61d9f (patch) | |
tree | 3f079e10e4d4eebca71ae25cba5297dd977d2abc /drivers/regulator | |
parent | e4fc9d6d9fea5a1b05dcf5b60984bd6a19cc73d6 (diff) | |
download | linux-375dc9c141b4d62b92bb171817039ef764c61d9f.tar.bz2 |
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')
-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, }, /* |