Messages in this thread |  | | Date | Sat, 29 May 2021 22:26:54 +0300 | From | Cristian Ciocaltea <> | Subject | Re: [PATCH v2] regulator: atc260x: Fix n_voltages and min_sel for pickable linear ranges |
| |
On Sat, May 29, 2021 at 07:01:47AM +0800, Axel Lin wrote: > The .n_voltages was missed for pickable linear ranges, fix it. > The min_sel for each pickable range should be starting from 0. > Also fix atc260x_ldo_voltage_range_sel setting (bit 5 - LDO<N>_VOL_SEL > in datasheet). > > Fixes: 3b15ccac161a ("regulator: Add regulator driver for ATC260x PMICs") > Signed-off-by: Axel Lin <axel.lin@ingics.com> > --- > v2: Fix atc260x_ldo_voltage_range_sel setting (bit 5 - LDO<N>_VOL_SEL > in datasheet). > drivers/regulator/atc260x-regulator.c | 19 ++++++++++--------- > 1 file changed, 10 insertions(+), 9 deletions(-)
Reviewed-by: Cristian Ciocaltea <cristian.ciocaltea@gmail.com>
|  |