From: sbabic at denx.de Date: Wed, 13 Mar 2019 08:28:51 +0000 (UTC) Subject: [U-Boot] [PATCH 17/34] warp7: Fix the write to the LDOGCTL PMIC register Message-ID: <20190313082917.7BEF7C21FFB@lists.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > 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 use pmic_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 Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ===================================================================== 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 =====================================================================