Axel Lin
6f1b660731
mfd: bd71828: Fix .n_voltages settings
...
Current .n_voltages settings do not cover the latest 2 valid selectors,
so it fails to set voltage for the hightest voltage support.
The latest linear range has step_uV = 0, so it does not matter if we
count the .n_voltages to maximum selector + 1 or the first selector of
latest linear range + 1.
To simplify calculating the n_voltages, let's just set the
.n_voltages to maximum selector + 1.
Fixes: 522498f8cb ("regulator: bd71828: Basic support for ROHM bd71828 PMIC regulators")
Signed-off-by: Axel Lin <axel.lin@ingics.com >
Reviewed-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
2021-06-02 10:51:02 +01:00
..
2021-04-26 16:32:11 -07:00
2021-04-27 14:10:15 -07:00
2021-04-30 13:04:30 -07:00
2021-05-05 12:39:29 -07:00
2021-04-26 12:30:36 -07:00
2021-06-02 10:51:02 +01:00
2021-05-01 09:15:05 -07:00
2021-04-23 09:29:49 +02:00
2021-04-26 18:16:56 +02:00
2021-05-03 23:04:01 +02:00
2021-04-26 03:20:07 +02:00
2021-04-26 18:16:56 +02:00
2021-04-26 18:16:56 +02:00
2021-05-07 14:49:18 -07:00
2021-06-01 16:44:36 +01:00
2021-05-05 11:27:26 -07:00
2021-04-28 15:56:51 -07:00
2021-05-07 11:23:41 -07:00
2021-04-29 11:57:23 -07:00
2021-04-26 17:04:27 +02:00
2021-05-06 19:24:11 -07:00
2021-05-07 00:26:33 -07:00
2021-05-08 21:49:48 -06:00
2021-05-07 00:34:51 -07:00
2021-05-06 19:24:12 -07:00
2021-05-09 13:25:14 -07:00
2021-05-03 11:56:23 +02:00
2021-04-29 11:57:23 -07:00
2021-05-05 11:27:24 -07:00
2021-05-01 10:14:08 -07:00
2021-05-05 11:27:24 -07:00
2021-05-05 11:27:24 -07:00
2021-05-07 00:34:51 -07:00
2021-04-30 11:20:35 -07:00
2021-04-25 05:26:10 +09:00
2021-05-07 00:26:34 -07:00
2021-05-05 22:54:12 +02:00
2021-05-04 11:24:46 -07:00
2021-04-29 11:41:43 -07:00
2021-05-06 19:24:12 -07:00
2021-05-06 19:24:11 -07:00
2021-05-07 00:26:32 -07:00
2021-04-25 05:25:42 +09:00
2021-05-07 00:26:34 -07:00
2021-04-23 10:14:32 +01:00
2021-04-23 10:14:32 +01:00
2021-05-07 00:26:34 -07:00
2021-05-07 00:26:34 -07:00
2021-05-07 00:26:33 -07:00
2021-04-29 21:44:07 +02:00
2021-05-05 11:27:27 -07:00
2021-05-05 11:27:21 -07:00
2021-05-05 11:27:22 -07:00
2021-04-28 17:22:10 -07:00
2021-05-06 19:24:11 -07:00
2021-05-07 00:26:33 -07:00
2021-04-30 11:20:39 -07:00
2021-04-30 11:20:40 -07:00
2021-05-04 08:54:29 -07:00
2021-04-26 15:03:23 -07:00
2021-04-26 10:25:03 -07:00
2021-05-05 12:39:29 -07:00
2021-04-30 11:20:41 -07:00
2021-05-09 00:29:45 +09:00
2021-05-08 10:00:11 -07:00
2021-05-05 22:54:12 +02:00
2021-04-28 12:37:53 -07:00
2021-05-01 18:50:44 -07:00
2021-05-01 18:50:44 -07:00
2021-04-27 14:13:24 -07:00
2021-05-05 11:27:23 -07:00
2021-05-05 11:27:26 -07:00
2021-05-05 11:27:26 -07:00
2021-05-05 11:27:26 -07:00
2021-05-05 11:27:26 -07:00
2021-05-07 00:26:35 -07:00
2021-05-07 00:26:33 -07:00
2021-04-23 10:14:32 +01:00
2021-05-07 11:23:41 -07:00
2021-04-26 08:51:23 -07:00
2021-04-30 11:20:42 -07:00
2021-05-05 11:27:19 -07:00
2021-04-30 11:20:41 -07:00
2021-05-05 13:24:11 -07:00
2021-05-01 10:14:08 -07:00
2021-05-07 00:26:34 -07:00
2021-04-28 15:43:58 -07:00
2021-05-06 19:24:11 -07:00
2021-05-06 19:24:11 -07:00
2021-04-28 12:00:13 -07:00
2021-05-05 13:24:11 -07:00
2021-05-05 11:27:26 -07:00
2021-05-01 18:50:44 -07:00
2021-04-27 15:50:15 -07:00
2021-05-05 11:27:23 -07:00
2021-04-28 13:33:57 -07:00
2021-04-25 18:02:32 -07:00
2021-05-09 13:07:03 -07:00
2021-04-26 13:04:19 -07:00
2021-04-28 12:37:53 -07:00
2021-04-22 15:02:40 -07:00
2021-05-06 19:24:11 -07:00
2021-05-01 18:50:44 -07:00
2021-04-26 22:55:12 +01:00
2021-04-29 11:06:13 -07:00
2021-05-05 11:27:22 -07:00
2021-05-03 04:55:53 -04:00
2021-05-04 04:19:59 -04:00
2021-05-05 11:27:25 -07:00
2021-05-07 00:26:35 -07:00
2021-04-30 11:20:37 -07:00
2021-05-03 04:55:53 -04:00
2021-05-05 22:54:11 +02:00