Skip to contentSkip to conversation

power: pfuze100: Fix off by one error in voltage

PATCH New sbabic at denx.de 1 participant 1 message Jun 10, 2019

lore
Share & tools
lore
#0 lore raw

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_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 <[email protected]>
Cc Jaehoon Chung <[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
=====================================================================