Trent Piepho d3eaf95ec6 power: pfuze100: Fix off by one error in voltage table handling
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>
2019-06-11 10:42:48 +02:00
..
2019-01-15 15:28:53 -05:00
2019-05-21 08:03:38 +02:00
2019-05-21 17:33:23 -06:00
2019-02-27 09:12:33 +08:00
2019-05-18 08:15:35 -04:00
2019-02-20 15:27:08 +08:00
2019-05-10 22:48:11 +02:00
2019-05-31 23:27:12 +02:00
2019-05-24 10:14:10 -07:00
2018-11-29 09:30:06 -07:00
2019-05-05 08:48:50 -04:00