Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 375dc9c1 authored by Axel Lin's avatar Axel Lin Committed by Mark Brown
Browse files

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: default avatarAxel Lin <axel.lin@ingics.com>
Acked-by: default avatarBengt Jonsson <bengt.g.jonsson@stericsson.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent e4fc9d6d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1729,6 +1729,7 @@ static struct ab8500_regulator_info
		.voltage_bank		= 0x03,
		.voltage_reg		= 0x83,
		.voltage_mask		= 0xc0,
		.voltage_shift		= 6,
	},

	/*