arm64: allwinner: axp81x: Fix double invertion for FLDO1

This fix booting on A64 boards when disabling the unused regulators at boot.
We did disable all the regulator handled by register 0x13 which of course contain
mandatory regulators for the board to be up.

Reported by:	Mark Millard <marklmi@yahoo.com>
X-MFC-With:	r340848
This commit is contained in:
Emmanuel Vadot 2018-12-14 10:26:17 +00:00
parent 701ded4e30
commit 6c8fcde80c

View File

@ -437,7 +437,7 @@ static struct axp8xx_regdef axp8xx_common_regdefs[] = {
.id = AXP8XX_REG_ID_FLDO1,
.name = "fldo1",
.enable_reg = AXP_POWERCTL3,
.enable_mask = (uint8_t) ~AXP_POWERCTL3_FLDO1,
.enable_mask = (uint8_t) AXP_POWERCTL3_FLDO1,
.enable_value = AXP_POWERCTL3_FLDO1,
.voltage_min = 700,
.voltage_max = 1450,