warp7: Fix the write to the LDOGCTL PMIC register
PATCH 17/34 warp7: Fix the write to the LDOGCTL PMIC register
Quoted 8 lines
The third parameter of the
pmic_clrsetbits()function is the mask to the register and the correct mask is 1 not 0.
Since the LDOGCTL only contains a single valid bit (bit 0), we can usepmic_reg_write()and write 1 directly, which fixes the problem in a simpler way and use the original pmic function that was used prior to the DM PMIC conversion.Fixes 8ba377321c86 ("arm: imx7s-warp: Convert to DM PMIC")Signed-off-by Fabio Estevam <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================