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

10 Jun
2019
10 Jun
'19
11:40 a.m.
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@freescale.com Cc: Jaehoon Chung jh80.chung@samsung.com Signed-off-by: Trent Piepho tpiepho@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@denx.de
=====================================================================
2158
Age (days ago)
2158
Last active (days ago)
0 comments
1 participants
participants (1)
-
sbabic@denx.de