power: pfuze100: Fix off by one error in voltage
PATCH 1/1 power: pfuze100: Fix off by one error in voltage
Quoted 7 lines
The code that sets a regulator by looking up the voltage in a table had an off by one error.
vsel_maskis a bitmask, not the number of table entries, so avsel_maskvalue of0x7indicates there are 8, not 7, entries in the table.Cc Peng Fan <[email protected]>Cc Jaehoon Chung <[email protected]>Signed-off-by Trent Piepho <[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 =====================================================================