[U-Boot] [PATCH] power: pfuze100: Fix off by one error in voltage

sbabic at denx.de sbabic at denx.de
Mon Jun 10 09:40:43 UTC 2019

> 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 <Peng.Fan at freescale.com>
> Cc: Jaehoon Chung <jh80.chung at samsung.com>
> Signed-off-by: Trent Piepho <tpiepho at impinj.com>

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

More information about the U-Boot mailing list