From: sbabic at denx.de Date: Mon, 10 Jun 2019 09:40:43 +0000 (UTC) Subject: [U-Boot] [PATCH] power: pfuze100: Fix off by one error in voltage Message-ID: <20190610094237.550BEC2202B@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 code that sets a regulator by looking up the voltage in a table had > an off by one error. vsel_mask is a bitmask, not the number of table > entries, so a vsel_mask value of 0x7 indicates there are 8, not 7, > entries in the table. > Cc: Peng Fan > Cc: Jaehoon Chung > Signed-off-by: Trent Piepho 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 =====================================================================