mirror of
https://github.com/torvalds/linux.git
synced 2024-10-30 16:51:45 +00:00
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>
This commit is contained in:
parent
e4fc9d6d9f
commit
375dc9c141
@ -1729,6 +1729,7 @@ static struct ab8500_regulator_info
|
||||
.voltage_bank = 0x03,
|
||||
.voltage_reg = 0x83,
|
||||
.voltage_mask = 0xc0,
|
||||
.voltage_shift = 6,
|
||||
},
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user